Skip to content

fix(ci): use PAT to make sure release PRs trigger workflows #124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/prepare-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ jobs:
run: pnpm run changelog

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
with:
# Note: `publish-release.yaml` checks explicitly for this commit message
commit-message: 'chore: release `@tutorialkit` packages v${{ inputs.version }}'
title: 'chore: release `@tutorialkit` packages v${{ inputs.version }}'
body: 'Bump `@tutorialkit` packages to version ${{ inputs.version }} and generate changelogs.'
reviewers: SamVerschueren,d3lm,Nemikolh,AriPerkkio
branch: chore/release-${{ inputs.version }}
token: ${{ secrets.GITOPS_REPO_PAT }}
3 changes: 2 additions & 1 deletion .github/workflows/publish-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,15 @@ jobs:
exec npm version --no-git-tag-version --allow-same-version ${{ steps.resolve-release-version.outputs.version }}

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
with:
# Note: `publish-release.yaml` checks explicitly for this commit message
commit-message: 'chore: release TutorialKit CLI v${{ steps.resolve-release-version.outputs.version }}'
title: 'chore: release TutorialKit CLI v${{ steps.resolve-release-version.outputs.version }}'
body: 'Bump TutorialKit CLI to version ${{ steps.resolve-release-version.outputs.version }}.'
reviewers: SamVerschueren,d3lm,Nemikolh,AriPerkkio
branch: chore/release-cli-${{ steps.resolve-release-version.outputs.version }}
token: ${{ secrets.GITOPS_REPO_PAT }}

publish_release_CLI:
name: Publish Release CLI
Expand Down