Skip to content

fix: using inputs.token for auto commit#26

Merged
geekbrother merged 1 commit intomasterfrom
fix/add_pat_token_to_auto_commit
Oct 8, 2024
Merged

fix: using inputs.token for auto commit#26
geekbrother merged 1 commit intomasterfrom
fix/add_pat_token_to_auto_commit

Conversation

@geekbrother
Copy link
Contributor

@geekbrother geekbrother commented Oct 7, 2024

Description

This PR adds changes to the git-auto-commit-action step to use the inputs.token wich is the PAT token for the auto commit. This should fix the issue where the private submodule token is used from the previous checkout step since the checkout token is used by default from the git-auto-commit-action action.
By this PR changes we are overriding the GITHUB_TOKEN from the private submodule to the PAT token and fixing the permission error.

Testing

Tested by running the action from this branch.

@geekbrother geekbrother self-assigned this Oct 7, 2024
@geekbrother geekbrother merged commit 08fce90 into master Oct 8, 2024
@geekbrother geekbrother deleted the fix/add_pat_token_to_auto_commit branch October 8, 2024 11:26
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