Skip to content
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

Release please config updates #229

Merged
merged 3 commits into from
Mar 11, 2024
Merged

Release please config updates #229

merged 3 commits into from
Mar 11, 2024

Conversation

lukekarrys
Copy link
Member

I think this fixes the issues with the release-please workflow failing after #225.

It matches mostly what we have in https://github.com/nodejs/node-gyp

@lukekarrys lukekarrys requested a review from targos March 8, 2024 22:54
Copy link
Member

@targos targos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@@ -7,8 +7,8 @@ name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: google-github-actions/release-please-action@v4
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- uses: google-github-actions/release-please-action@v4
- uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

IIRC, I set the token so that the release PR triggers CI workflows.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I have seen this be an issue before. I thought that secrets.GITHUB_TOKEN was the default token so it wouldn't trigger CI workflows, and it would need to pass in a different PAT for that to work.

If this is an issue we can try adding back the token.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. Workflows didn't run for #218

@targos targos merged commit da76c95 into main Mar 11, 2024
20 checks passed
@targos targos deleted the release-please-config-updates branch March 11, 2024 09:46
@targos
Copy link
Member

targos commented Mar 11, 2024

#231

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants