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

updates in Github actions #12165

Closed
romani opened this issue Sep 4, 2022 · 0 comments · Fixed by #12166 or #12167
Closed

updates in Github actions #12165

romani opened this issue Sep 4, 2022 · 0 comments · Fixed by #12166 or #12167

Comments

@romani
Copy link
Member

romani commented Sep 4, 2022

  1. update all github actions to use checkout@v3

https://github.com/actions/checkout#push-a-commit-using-the-built-in-token
no need for token: ${{ secrets.GITHUB_TOKEN }}
and remove --global from command git config user.name github-actions

in .github/workflows/update_github_io.yml
code should be:

cd . ci-temp/checkstyle.github.io
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'

to set config values after cd, in proper repo.

Rahulkhinchi03 added a commit to Rahulkhinchi03/checkstyle that referenced this issue Sep 4, 2022
romani pushed a commit that referenced this issue Sep 4, 2022
@romani romani added this to the 10.3.4 milestone Sep 4, 2022
Rahulkhinchi03 added a commit to Rahulkhinchi03/checkstyle that referenced this issue Sep 4, 2022
romani pushed a commit that referenced this issue Sep 4, 2022
rnveach pushed a commit to rnveach/checkstyle that referenced this issue Sep 20, 2022
rnveach pushed a commit to rnveach/checkstyle that referenced this issue Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
1 participant