Skip to content

Commit

Permalink
update: update actions/checkout to v3.
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherbrumm committed Nov 28, 2023
1 parent 27ffd1b commit b24e63e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build_registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ jobs:

steps:
- name: Check out the code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
token: ${{ secrets.PAT_TOKEN }}


- name: Install required Python packages
run: pip install -r .github/requirements.txt
Expand All @@ -25,16 +30,11 @@ jobs:
run: python .github/build_registry.py .github/registry.yml
working-directory: ${{ github.workspace }}

- name: Commit built registry
- name: Commit and push built registry
run: |
git config --local user.email "[email protected]"
git config --local user.name "kyve-network"
git add .github/registry.yml
git commit -m "🎉 Update registry.yml"
working-directory: ${{ github.workspace }}

- name: Push built registry
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.PAT_TOKEN }}
force: true
git push
working-directory: ${{ github.workspace }}

0 comments on commit b24e63e

Please sign in to comment.