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

update: actions/checkout to v3. #12

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}
Loading