Skip to content

Commit

Permalink
test wait-for-packit
Browse files Browse the repository at this point in the history
  • Loading branch information
inknos committed Oct 11, 2023
1 parent dc82eb5 commit 90a8933
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/test-packit.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
name: Test Packit
on:
workflow_run:
workflows:
- "Packit-as-a-Service"
types:
- completed
pull_request:

jobs:
test-packit:
name: Test if Packit is done
runs-on: ubuntu-latest
container:
image: ghcr.io/rpm-software-management/dnf-ci-host
steps:
- name: install wait-for-copr
run: pip install -e git+https://github.com/packit/[email protected]

- name: wait for copr
env:
# env variables for readability
REPO: ${{ github.repository_owner }}
PROJ: ${{ github.event.repository.name }}
PR: ${{ github.event.number }}
run: |
echo $(git rev-parse --short HEAD)
wait-for-copr --owner packit --project $REPO-$PR-$PROJ $PROJ $(git rev-parse --short HEAD)
- name: print success
run: echo "success"

0 comments on commit 90a8933

Please sign in to comment.