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 a PAT when pushing from update-gem-version-artifacts.yaml. #230

Merged
merged 2 commits into from
Feb 25, 2025

Conversation

myronmarston
Copy link
Collaborator

The ci.yaml workflow isn't running when this workflow pushes
to a dependabot PR. GitHub protects against infinite workflow
loops (where 2 workflows infinitely trigger each other to run)
by disabling pull_request triggered workflows when an action
bot pushes to a PR from a workflow. To get around this, we can
use a PAT to push.

…uild."

This reverts commit 2cf9f4c.

This approach didn't quite work how I wanted. It did trigger the CI build
from the `Update Gem Version Artifacts` workflow, but the CI build status
wasn't reported on the dependabot PR--I had to dig through the GitHub
actions UI to find it.
The `ci.yaml` workflow isn't running when this workflow pushes
to a dependabot PR. GitHub protects against infinite workflow
loops (where 2 workflows infinitely trigger each other to run)
by disabling `pull_request` triggered workflows when an action
bot pushes to a PR from a workflow. To get around this, we can
use a PAT to push.
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@myronmarston myronmarston merged commit a056467 into main Feb 25, 2025
18 of 19 checks passed
@myronmarston myronmarston deleted the myron/allow-chained-workflows-try2 branch February 25, 2025 02:11
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.

3 participants