Skip to content

Commit

Permalink
Merge pull request #28 from btnguyen2k/dev
Browse files Browse the repository at this point in the history
Test workflow release 1148pm
  • Loading branch information
btnguyen2k authored Nov 24, 2023
2 parents c7e64b5 + 855926c commit e3a96a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: "ci"
on:
push:
branches: [ '*' ]
# pull_request:
# types: [ 'opened', 'closed' ]
# branches: [ 'main', 'release', 'dev' ]
workflow_call:

jobs:
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,18 @@ jobs:
echo "github.event.workflow_run.event: ${{ github.event.workflow_run.event }}"
echo "github.event.workflow_run.conclusion: ${{ github.event.workflow_run.conclusion }}"
echo "github.event.pull_request: ${{ github.event.pull_request }}"
echo "github.event: ${{ github.event }}"
echo "github: ${{ github }}"
- name: Dummy 2
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
console.log(context.payload.workflow_run)
if (context.payload.workflow_run.event == 'pull_request') {
console.log(context.payload.pull_request)
}
console.log(context.payload)
# console.log(context.payload.workflow_run)
# if (context.payload.workflow_run.event == 'pull_request') {
# console.log(context.payload.pull_request)
# }
- name: Check out code
uses: actions/checkout@v4
- name: Install Node
Expand Down

0 comments on commit e3a96a7

Please sign in to comment.