-
Notifications
You must be signed in to change notification settings - Fork 0
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
Chore/create run #1
Conversation
jimid27
commented
Jan 2, 2024
•
edited
Loading
edited
- Relates: https://github.com/PrefectHQ/platform/issues/5625
- Creates shareable GHA for updatecli runs since major and minor are identical just with different manifests and schedules
- Example run: https://github.com/PrefectHQ/flows/actions/runs/7391218314/job/20107588255
Co-authored-by: Edward Park <[email protected]>
action.yaml
Outdated
git commit -m "dependency-version-${{ inputs.run-type }}-${{ steps.date.outputs.date }}" | ||
git push --set-upstream origin "dependency-version-${{ inputs.run-type }}-${{ steps.date.outputs.date }}" | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this need to be passed in as an action var? i forget if custom actions have access to the workflow's token scope
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lemme verify you may be right there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://docs.github.com/en/actions/security-guides/automatic-token-authentication#example-1-passing-the-github_token-as-an-input passing like this example. May be unnecessary but worth it to be confident the right perms are passing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pending the github token thing
…ecli-minor-run into chore/create-run