Skip to content

Commit

Permalink
Ensure checkout before defaults
Browse files Browse the repository at this point in the history
The files need to be checked out first
  • Loading branch information
kzu committed Aug 5, 2022
1 parent acedd1d commit 721ee85
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@ jobs:
changelog:
runs-on: ubuntu-latest
steps:
- name: πŸ” defaults
uses: ./.github/workflows/defaults

- name: 🀘 checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: main
token: ${{ env.GH_TOKEN }}

- name: πŸ” defaults
uses: ./.github/workflows/defaults

- name: βš™ ruby
uses: ruby/setup-ruby@v1
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/dotnet-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ jobs:
sync:
runs-on: windows-latest
steps:
- name: 🀘 checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: main

- name: πŸ” defaults
uses: ./.github/workflows/defaults

Expand All @@ -33,13 +39,6 @@ jobs:
echo "Rate limit has reset to $($rate.remaining) requests"
}
- name: 🀘 checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: main
token: ${{ env.GH_TOKEN }}

- name: πŸ”„ sync
shell: pwsh
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/includes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
includes:
runs-on: ubuntu-latest
steps:
- name: πŸ” defaults
uses: ./.github/workflows/defaults

- name: 🀘 checkout
uses: actions/checkout@v2

- name: πŸ” defaults
uses: ./.github/workflows/defaults

- name: +Mβ–Ό includes
uses: devlooped/actions-include@v4

Expand Down

0 comments on commit 721ee85

Please sign in to comment.