Skip to content

Commit

Permalink
ci: resolve changes workflow for pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
tboerger committed Nov 6, 2023
1 parent a615b87 commit ac7acaf
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,16 @@ jobs:
steps:
- name: Checkout source
id: source
if: github.event_name != 'pull_request'
uses: actions/checkout@v4
with:
token: ${{ secrets.BOT_ACCESS_TOKEN }}

- name: PR checkout
id: altsource
if: github.event_name == 'pull_request'
uses: actions/checkout@v4

- name: Setup golang
id: golang
uses: actions/setup-go@v4
Expand Down Expand Up @@ -52,10 +58,16 @@ jobs:
steps:
- name: Checkout source
id: source
if: github.event_name != 'pull_request'
uses: actions/checkout@v4
with:
token: ${{ secrets.BOT_ACCESS_TOKEN }}

- name: PR checkout
id: altsource
if: github.event_name == 'pull_request'
uses: actions/checkout@v4

- name: Setup golang
id: golang
uses: actions/setup-go@v4
Expand Down Expand Up @@ -84,10 +96,16 @@ jobs:
steps:
- name: Checkout source
id: source
if: github.event_name != 'pull_request'
uses: actions/checkout@v4
with:
token: ${{ secrets.BOT_ACCESS_TOKEN }}

- name: PR checkout
id: altsource
if: github.event_name == 'pull_request'
uses: actions/checkout@v4

- name: Setup golang
id: golang
uses: actions/setup-go@v4
Expand Down

0 comments on commit ac7acaf

Please sign in to comment.