Skip to content

Commit

Permalink
[TOREMOVE] Test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiSG committed Jul 10, 2024
1 parent 9ced530 commit aa120bb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ jobs:
git config user.name "Open Terms Archive Release Bot"
git config user.email "[email protected]"
git commit --message="Update changelog" CHANGELOG.md package.json package-lock.json
[ ${{ needs.changelog.outputs.release-type }} != 'no-release' ] && git tag v${{ steps.update-changelog.outputs.version }}
[ ${{ needs.changelog.outputs.release-type }} != 'no-release' ] && git tag v${{ steps.update-changelog.outputs.version }}-changelog-action-test
- name: Run status checks for release commit on temporary branch # Use temporary branch to enable pushing commits to this branch protected by required status checks
uses: CasperWA/push-protected@v2
with:
token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
branch: main
branch: test-main
tags: true
interval: 10 # seconds between checks
pre_sleep: 15
Expand All @@ -49,11 +49,13 @@ jobs:
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPMJS_ACCESS_TOKEN }}
tag: changelog-action-test
dry-run: true

- name: Create GitHub release
if: needs.changelog.outputs.release-type != 'no-release'
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ steps.update-changelog.outputs.version }}
tag_name: v${{ steps.update-changelog.outputs.version }}-changelog-action-test
body: ${{ steps.update-changelog.outputs.content }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit aa120bb

Please sign in to comment.