Skip to content

Commit

Permalink
fixup! DONT MERGE: fixup! infra: prompt for manual trigger in case ex…
Browse files Browse the repository at this point in the history
…ternal contributors can't run Web UI tests
  • Loading branch information
KKoukiou committed Dec 5, 2024
1 parent e514206 commit aaef35c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/trigger-webui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,16 @@ jobs:
done
exit 1
- name: Clone Anaconda repository
uses: actions/checkout@v4
with:
# It's weirdly needed for the `gh pr comment`
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Trigger anaconda run
env:
GH_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git clone --depth=1 https://github.com/cockpit-project/bots
mkdir -p ~/.config/cockpit-dev
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/trigger-webui.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,16 @@ jobs:
done
exit 1

- name: Clone Anaconda repository
uses: actions/checkout@v4
with:
# It's weirdly needed for the `gh pr comment`
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Trigger anaconda run
env:
GH_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git clone --depth=1 https://github.com/cockpit-project/bots
mkdir -p ~/.config/cockpit-dev
Expand Down

0 comments on commit aaef35c

Please sign in to comment.