Skip to content

Commit

Permalink
[test] add more pr types
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyBoWu committed Jan 18, 2024
1 parent e1f8468 commit 0c9baa8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on:
pull_request:
# PR is targeting main branch
branches:
- main2
- main
# Triggered only when package.json is modified
# paths:
# - 'package.json'
paths:
- 'package.json'
# Triggered only the PR is merged
# types: [closed]
types: [opened, synchronize, reopened, closed]

jobs:
# Add timestamp
Expand All @@ -19,7 +19,7 @@ jobs:
# if: github.event.pull_request.head.repo.full_name == 'dev2'
steps:
- name: Generate timestamp
run: |
run: |q
echo "TIMESTAMP=$(TZ='America/Los_Angeles' date +'%Y-%m-%d %H:%M:%S')" >> $GITHUB_ENV
- name: Print timestamp
Expand Down

0 comments on commit 0c9baa8

Please sign in to comment.