Skip to content

Commit

Permalink
Ensure CI can run on forked repo PRs
Browse files Browse the repository at this point in the history
Put the runner env variable in the workflow directly instead of GH project
config as it’s not available to the forked repositories otherwise when
submitting PRs: https://github.com/orgs/community/discussions/44322.
  • Loading branch information
didrocks committed Sep 17, 2024
1 parent bd1e473 commit 45a0ab1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ env:
ca-certificates curl dconf-cli gcc gettext git libnss-wrapper libsmbclient-dev
libkrb5-dev libwbclient-dev pkg-config python3-coverage samba sudo
libglib2.0-dev gvfs libpam0g-dev
# Put the runner env variable here instead of GH project config as it’s not available to the forked repositories
# otherwise when submitting PRs: https://github.com/orgs/community/discussions/44322.
RUNNER: ubuntu-24.04

jobs:
sanity:
name: Code sanity
runs-on: ${{ vars.RUNNER }}
runs-on: ${{ env.RUNNER }}
steps:
- name: Install dependencies
run: |
Expand Down

0 comments on commit 45a0ab1

Please sign in to comment.