Skip to content

T7334: pr mirror trigger workflow added with label creation permission for default github token #950

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 1 commit into from
Apr 20, 2025

Conversation

kumvijaya
Copy link
Contributor

@kumvijaya kumvijaya commented Apr 20, 2025

Change summary

In pr mirror trigger workflow, In the very first run, had to create the mirror-initiated label manually.
The vyos bot user used in PR mirror trigger workflow currently doesn't have permission to create label.

As this this label has to be created in same current repo, the default GitHub action workflow token can do this.
So, adding the required permissions for this workflow.

T7334: pr mirror trigger workflow added with label creation permission for default github token

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Migration from an old Vyatta component to vyos-1x, please link to related PR inside obsoleted component
  • Other (please describe):

Related Task(s)

https://vyos.dev/T7334

Related PR(s)

Checklist:

  • I have read the CONTRIBUTING document
  • I have linked this PR to one or more Phabricator Task(s)
  • My commit headlines contain a valid Task id
  • My change requires a change to the documentation
  • I have updated the documentation accordingly

Copy link

👍
No issues in PR Title / Commit Title

@github-actions github-actions bot added the current VyOS rolling release label Apr 20, 2025
@kumvijaya kumvijaya requested review from c-po and sever-sever April 20, 2025 09:53
Copy link
Member

@c-po c-po left a comment

Choose a reason for hiding this comment

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

Add write permissions for PRs

@c-po c-po merged commit 0de7883 into vyos:current Apr 20, 2025
7 checks passed
@vyosbot vyosbot added mirror-initiated This PR initiated for mirror sync workflow mirror-completed and removed mirror-initiated This PR initiated for mirror sync workflow labels Apr 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
current VyOS rolling release mirror-completed
Development

Successfully merging this pull request may close these issues.

3 participants