Skip to content

Release please config updates#229

Merged
targos merged 3 commits intomainfrom
release-please-config-updates
Mar 11, 2024
Merged

Release please config updates#229
targos merged 3 commits intomainfrom
release-please-config-updates

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!

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
@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