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

Use bot to execute Pre and Post release schedule #166

Merged
merged 7 commits into from
Apr 26, 2024
Merged

Conversation

XinRanZhAWS
Copy link
Contributor

@XinRanZhAWS XinRanZhAWS commented Apr 17, 2024

Description of changes:
For code clean purpose, update the role ARN's name

Add a bot account and use the bot account's token to perform workflow update in pre and post-release.
That have two benefits:

  1. Allow modify workflow file for post release
  2. Create PR with bot account will automatically trigger check workflows

Tested functional:
Modified post-release runs: https://github.com/XinRanZhAWS/aws-otel-python-instrumentation/actions/runs/8837317974
PR created with check enabled: XinRanZhAWS/aws-otel-python-instrumentation#20
Modified pre-release runs: https://github.com/XinRanZhAWS/aws-otel-python-instrumentation/actions/runs/8837526972
PR created with check enabled: XinRanZhAWS/aws-otel-python-instrumentation#19

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@XinRanZhAWS XinRanZhAWS requested a review from a team as a code owner April 17, 2024 23:19
@XinRanZhAWS XinRanZhAWS changed the title Attach PAT that allow workflow to have sufficient permission Use bot to execute Pre and Post release schedule Apr 25, 2024
@srprash
Copy link
Contributor

srprash commented Apr 26, 2024

For some reason, none of the links to your fork work. Please check.

@XinRanZhAWS XinRanZhAWS merged commit c527556 into main Apr 26, 2024
11 checks passed
@XinRanZhAWS XinRanZhAWS deleted the post-release-bot branch April 26, 2024 21:44
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