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

Chore/create run #1

Merged
merged 7 commits into from
Jan 2, 2024
Merged

Chore/create run #1

merged 7 commits into from
Jan 2, 2024

Conversation

jimid27
Copy link
Collaborator

@jimid27 jimid27 commented Jan 2, 2024

README.md Outdated Show resolved Hide resolved
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 }}
Copy link
Contributor

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

Copy link
Collaborator Author

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

Copy link
Collaborator Author

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

Copy link

@iotmani iotmani left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@parkedwards parkedwards left a 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

@jimid27 jimid27 merged commit 83433ea into main Jan 2, 2024
1 check passed
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