Checkout user repository for keep alive

This commit is contained in:
Colin Sullender 2023-03-23 14:26:48 -04:00 committed by GitHub
parent 0c73962fb4
commit 58c064db0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: mastodon environment: mastodon
steps: steps:
- name: Checkout repository - name: Checkout original repository
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
repository: nanos/mastodon_get_replies repository: nanos/mastodon_get_replies
@ -40,7 +40,7 @@ jobs:
name: artifacts name: artifacts
path: | path: |
artifacts artifacts
- name: Swap back to main branch for keeping workflow alive - name: Checkout user's forked repository for keeping workflow alive
run: git checkout main uses: actions/checkout@v3
- name: Keep workflow alive - name: Keep workflow alive
uses: gautamkrishnar/keepalive-workflow@v1 uses: gautamkrishnar/keepalive-workflow@v1