From 141b4c277b3ad1e392bcd209b8fff8217b263944 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 8 Sep 2024 16:06:21 -0400 Subject: [PATCH] forgejo: use GitHub checkout --- .forgejo/workflows/cleanup.yaml | 2 +- .forgejo/workflows/deploy.yaml | 2 +- .forgejo/workflows/pages.yaml | 4 ++-- .forgejo/workflows/preview.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/cleanup.yaml b/.forgejo/workflows/cleanup.yaml index 69921a7..084cf3d 100644 --- a/.forgejo/workflows/cleanup.yaml +++ b/.forgejo/workflows/cleanup.yaml @@ -12,7 +12,7 @@ jobs: run: | apk add git nodejs jq coreutils curl tree gawk grep - name: Public repo pull - uses: actions/checkout@v4 + uses: https://github.com/actions/checkout@v4 with: fetch-depth: 0 token: ${{ secrets.PAGES_TOKEN }} diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index c82b4db..929cde1 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -18,7 +18,7 @@ jobs: with: ssh-private-key: ${{ secrets.PAGES_PRIVKEY }} - name: Repo pull - uses: actions/checkout@v4 + uses: https://github.com/actions/checkout@v4 with: fetch-depth: 0 - name: Website upload diff --git a/.forgejo/workflows/pages.yaml b/.forgejo/workflows/pages.yaml index de37353..5a05a58 100644 --- a/.forgejo/workflows/pages.yaml +++ b/.forgejo/workflows/pages.yaml @@ -13,12 +13,12 @@ jobs: run: | apk add git ikiwiki po4a perl-yaml-tiny tree nodejs - name: Repo pull - uses: actions/checkout@v4 + uses: https://github.com/actions/checkout@v4 with: fetch-depth: 1 token: ${{ secrets.PAGES_TOKEN }} - name: Public repo pull - uses: actions/checkout@v4 + uses: https://github.com/actions/checkout@v4 with: fetch-depth: 0 ref: public diff --git a/.forgejo/workflows/preview.yaml b/.forgejo/workflows/preview.yaml index 3ad603e..d54ae10 100644 --- a/.forgejo/workflows/preview.yaml +++ b/.forgejo/workflows/preview.yaml @@ -18,7 +18,7 @@ jobs: fetch-depth: 1 token: ${{ secrets.PAGES_TOKEN }} - name: Public repo pull - uses: actions/checkout@v4 + uses: https://github.com/actions/checkout@v4 with: fetch-depth: 0 ref: public