Skip to content

Commit

Permalink
Merge pull request #496 from redhatci/updated-branch
Browse files Browse the repository at this point in the history
GHA: use depends-on-action on all the jobs
  • Loading branch information
tonyskapunk authored Nov 27, 2024
2 parents 576981d + c3676f3 commit 98ad134
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install dependent PRs if needed
uses: depends-on/depends-on-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -94,6 +99,12 @@ jobs:
with:
path: ${{ matrix.ansible }}/ansible_collections/redhatci/ocp

- name: Install dependent PRs if needed
uses: depends-on/depends-on-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
path: ${{ matrix.ansible }}/ansible_collections/redhatci/ocp

- name: Set up Python
uses: actions/setup-python@v5
with:
Expand All @@ -112,7 +123,6 @@ jobs:
sudo dpkg --force-all -i podman-docker*.deb 2>/dev/null
EXCLUDE="--exclude hack/ --exclude plugins/modules/nmcli.py"
git checkout -b branch
git fetch --unshallow origin main
# extract all the supported python versions from the error message, excluding 3.5
PY_VERS=$(ansible-test sanity $EXCLUDE --verbose --docker --python 1.0 --color --coverage --failure-ok 2>&1 |
grep -Po "invalid.*?\K'3.*\d'" |
Expand Down Expand Up @@ -167,6 +177,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install dependent PRs if needed
uses: depends-on/depends-on-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Check roles are documented in main README
run: |
echo "# Missing roles in README" > ${GITHUB_STEP_SUMMARY}
Expand Down

0 comments on commit 98ad134

Please sign in to comment.