From aa120bbd75f0cb7f05ce9e28007d5269389c5bf7 Mon Sep 17 00:00:00 2001 From: Matti Schneider Date: Wed, 10 Jul 2024 17:34:45 +0200 Subject: [PATCH] [TOREMOVE] Test CI --- .github/workflows/release.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4366036..4efcee9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,13 +32,13 @@ jobs: git config user.name "Open Terms Archive Release Bot" git config user.email "release-bot@opentermsarchive.org" 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 @@ -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 }}