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

Auto-update permission inputs in actions.yml #220

Closed
parkerbxyz opened this issue Mar 27, 2025 · 2 comments · Fixed by #229
Closed

Auto-update permission inputs in actions.yml #220

parkerbxyz opened this issue Mar 27, 2025 · 2 comments · Fixed by #229
Labels

Comments

@parkerbxyz
Copy link
Contributor

Follow-up to #168.

We need to run scripts/update-permission-inputs.js automatically when there are updates to octokit/openapi.

@Yang-33
Copy link
Contributor

Yang-33 commented Mar 28, 2025

I think this can be achieved very easily. Just run the script and create a commit if there is a git diff by github actions workflow with github app token.

If there is a diff, would you like the commit to be pushed directly to the main branch, or would you prefer to create a PR and have it approved by a human before merging?(I love the later approach)

If it's okay to write the workflow using the following settings, can you assign me to do it? though when you don't want to use the release app, maintainer need to install another app...

app-id: ${{ vars.RELEASER_APP_ID }}
private-key: ${{ secrets.RELEASER_APP_PRIVATE_KEY }}

parkerbxyz added a commit that referenced this issue Apr 3, 2025
Resolves #220.

Updates action.yml inputs after an update to the octokit/openapi dependency.
@create-app-token-action-releaser

🎉 This issue has been resolved in version 2.0.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging a pull request may close this issue.

2 participants