Skip to content

Commit

Permalink
chore: Add token to release workflow and fix and patch nx command
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenjohnson committed Oct 7, 2024
1 parent c94c8cb commit e17ecc8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
with:
fetch-tags: true
fetch-depth: 0
token: ${{ secrets.GH_WBS_BOT_TOKEN }}

- uses: ./.github/actions/setup-environment
with:
Expand Down Expand Up @@ -67,4 +68,9 @@ jobs:
PROJECT_ARG="-p ${{ inputs.image_name }}"
fi
./nx release $PROJECT_ARG $DRY_RUN_FLAG
./nx release $PROJECT_ARG $DRY_RUN_FLAG --skip-publish --verbose
# Temporary workaround for nx issue: https://github.com/nrwl/nx/issues/22073#
if [ $? -eq 0 ] && [ -z "$DRY_RUN_FLAG" ]; then
git push origin --tags
fi
4 changes: 1 addition & 3 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
"conventionalCommits": true
},
"changelog": {
"projectChangelogs": {
"createRelease": "github"
}
"projectChangelogs": true
}
},
"targetDefaults": {
Expand Down

0 comments on commit e17ecc8

Please sign in to comment.