Skip to content

Commit

Permalink
Merge pull request #33 from gawaooooo-sandbox/feature/package-wf
Browse files Browse the repository at this point in the history
ci: pr merge されたときの処理 test
  • Loading branch information
gawaooooo authored Apr 30, 2024
2 parents b39aa05 + b200e14 commit 5ee13e5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/github-packages-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,20 @@ jobs:
LABEL_NAME: ${{ github.event.label.name }}

publish-release-package:
if: |
github.event.pull_request.merged == true &&
contains(github.event.pull_request.labels.*.name, 'release/')
# if: |
# github.event.pull_request.merged == true &&
# contains(github.event.pull_request.labels.*.name, 'release/')
if: github.event.pull_request.merged == true
runs-on: ubuntu-22.04
timeout-minutes: 5
permissions:
contents: write
packages: write
steps:
- name: Debug output
run: |
echo "PR Labels: ${{ toJson(github.event.pull_request.labels) }}"
- name: Setup Node.js and Install dependencies
uses: gawaooooo-sandbox/learn-github-actions-custom/composite/node-setup-and-dependencies@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@
"path": "./node_modules/cz-conventional-changelog"
}
},
"version": "0.0.7"
"version": "0.0.8"
}

0 comments on commit 5ee13e5

Please sign in to comment.