diff --git a/.github/workflows/build-images-base.yaml b/.github/workflows/build-images-base.yaml index 25f417cbe958..0d9a5b97230e 100644 --- a/.github/workflows/build-images-base.yaml +++ b/.github/workflows/build-images-base.yaml @@ -20,7 +20,6 @@ concurrency: jobs: build-and-push: timeout-minutes: 30 - if: ${{ github.repository == 'cilium/cilium' }} environment: release-base-images runs-on: ubuntu-20.04 strategy: @@ -112,7 +111,6 @@ jobs: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} image-digests: - if: ${{ github.repository == 'cilium/cilium' }} name: Display Digests runs-on: ubuntu-20.04 needs: build-and-push diff --git a/.github/workflows/build-images-ci.yaml b/.github/workflows/build-images-ci.yaml index 7d249630c26f..5c36adee6f06 100644 --- a/.github/workflows/build-images-ci.yaml +++ b/.github/workflows/build-images-ci.yaml @@ -10,6 +10,7 @@ on: push: branches: - v1.10 + - ft/v1.10/** permissions: read-all @@ -19,7 +20,6 @@ concurrency: jobs: build-and-push-prs: - if: ${{ github.repository == 'cilium/cilium' }} runs-on: ubuntu-20.04 strategy: matrix: @@ -180,7 +180,6 @@ jobs: # this is caused by running apt while building the image # which requires qemu setup in order to avoid x86/arm64 binaries mixups build-and-push-with-qemu: - if: ${{ github.repository == 'cilium/cilium' }} runs-on: ubuntu-20.04 strategy: matrix: @@ -257,7 +256,6 @@ jobs: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} image-digests: - if: ${{ github.repository == 'cilium/cilium' }} name: Display Digests runs-on: ubuntu-20.04 needs: [build-and-push-prs, build-and-push-with-qemu] diff --git a/.github/workflows/build-images-hotfixes.yaml b/.github/workflows/build-images-hotfixes.yaml index b022e6502a2f..a10056dffed0 100644 --- a/.github/workflows/build-images-hotfixes.yaml +++ b/.github/workflows/build-images-hotfixes.yaml @@ -9,7 +9,6 @@ permissions: read-all jobs: build-and-push: - if: ${{ github.repository == 'cilium/cilium' }} environment: release-developer-images runs-on: ubuntu-20.04 strategy: @@ -114,7 +113,6 @@ jobs: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} image-digests: - if: ${{ github.repository == 'cilium/cilium' }} name: Display Digests runs-on: ubuntu-20.04 needs: build-and-push diff --git a/.github/workflows/build-images-releases.yaml b/.github/workflows/build-images-releases.yaml index ec73869fe343..472a346a1bd7 100644 --- a/.github/workflows/build-images-releases.yaml +++ b/.github/workflows/build-images-releases.yaml @@ -10,7 +10,6 @@ permissions: read-all jobs: build-and-push: - if: ${{ github.repository == 'cilium/cilium' }} environment: release runs-on: ubuntu-20.04 strategy: @@ -118,7 +117,6 @@ jobs: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} image-digests: - if: ${{ github.repository == 'cilium/cilium' }} name: Display Digests runs-on: ubuntu-20.04 needs: build-and-push diff --git a/.github/workflows/conformance-kind.yaml b/.github/workflows/conformance-kind.yaml index e46cab47adb8..f6a3a9e4e037 100644 --- a/.github/workflows/conformance-kind.yaml +++ b/.github/workflows/conformance-kind.yaml @@ -9,6 +9,7 @@ on: push: branches: - v1.10 + - ft/v1.10/** paths-ignore: - 'Documentation/**' - 'test/**' diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index edc695c389cc..c61799f2d0b3 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -6,6 +6,7 @@ on: push: branches: - v1.10 + - ft/v1.10/** permissions: read-all diff --git a/.github/workflows/lint-bpf-checks.yaml b/.github/workflows/lint-bpf-checks.yaml index 8b4ec2418d02..8fe7d690b2c2 100644 --- a/.github/workflows/lint-bpf-checks.yaml +++ b/.github/workflows/lint-bpf-checks.yaml @@ -6,6 +6,7 @@ on: push: branches: - v1.10 + - ft/v1.10/** permissions: read-all diff --git a/.github/workflows/lint-codeql.yaml b/.github/workflows/lint-codeql.yaml index 565c75b49b0d..a3f8e42bd96c 100644 --- a/.github/workflows/lint-codeql.yaml +++ b/.github/workflows/lint-codeql.yaml @@ -4,9 +4,11 @@ on: pull_request: branches: - v1.10 + - ft/v1.10/** push: branches: - v1.10 + - ft/v1.10/** schedule: - cron: "45 6 * * 3" @@ -15,7 +17,7 @@ permissions: read-all jobs: check_changes: name: Deduce required tests from code changes - if: ${{ github.repository == 'cilium/cilium' && github.event_name == 'pull_request' }} + if: ${{ github.event_name == 'pull_request' }} runs-on: ubuntu-18.04 outputs: go-changes: ${{ steps.go-changes.outputs.src }} @@ -40,7 +42,7 @@ jobs: analyze: needs: check_changes - if: ${{ github.repository == 'cilium/cilium' && (needs.check_changes.outputs.go-changes == 'true' || github.event_name != 'pull_request') }} + if: ${{ needs.check_changes.outputs.go-changes == 'true' || github.event_name != 'pull_request' }} runs-on: ubuntu-18.04 steps: - name: Checkout repo diff --git a/.github/workflows/lint-go.yaml b/.github/workflows/lint-go.yaml index 2fffa82931b6..2f5857cdc07b 100644 --- a/.github/workflows/lint-go.yaml +++ b/.github/workflows/lint-go.yaml @@ -6,6 +6,7 @@ on: push: branches: - v1.10 + - ft/v1.10/** permissions: read-all diff --git a/.github/workflows/lint-images-base.yaml b/.github/workflows/lint-images-base.yaml index bf9a7899c108..32c0e3ccb184 100644 --- a/.github/workflows/lint-images-base.yaml +++ b/.github/workflows/lint-images-base.yaml @@ -10,6 +10,7 @@ on: push: branches: - v1.10 + - ft/v1.10/** permissions: read-all @@ -19,7 +20,6 @@ concurrency: jobs: lint: - if: github.repository == 'cilium/cilium' name: Lint image build logic runs-on: ubuntu-20.04 steps: diff --git a/.github/workflows/tests-nightly.yaml b/.github/workflows/tests-nightly.yaml index cc9f99ee8310..1c705b0d84d8 100644 --- a/.github/workflows/tests-nightly.yaml +++ b/.github/workflows/tests-nightly.yaml @@ -8,7 +8,6 @@ permissions: read-all jobs: policy-stress-test: name: Start Nightly Policy Stress tests - if: github.repository == 'cilium/cilium' runs-on: ubuntu-18.04 steps: - name: Request GKE test cluster @@ -20,7 +19,6 @@ jobs: args: --namespace=test-clusters --image=quay.io/cilium/cilium-test-ci:${{ github.sha }} "/usr/local/bin/cilium-test-gke.sh" "quay.io/cilium/cilium-ci:${{ github.sha }}" "quay.io/cilium/operator-generic-ci:${{ github.sha }}" "quay.io/cilium/hubble-relay-ci:${{ github.sha }}" "NightlyPolicyStress" baseline-test: name: Start performance test - if: github.repository == 'cilium/cilium' runs-on: ubuntu-20.04 steps: - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 diff --git a/.github/workflows/tests-smoke-ipv6.yaml b/.github/workflows/tests-smoke-ipv6.yaml index e52e94576a57..705a77b535d4 100644 --- a/.github/workflows/tests-smoke-ipv6.yaml +++ b/.github/workflows/tests-smoke-ipv6.yaml @@ -6,6 +6,7 @@ on: push: branches: - v1.10 + - ft/v1.10/** permissions: read-all @@ -43,7 +44,7 @@ jobs: conformance-test-ipv6: needs: check_changes - if: ${{ github.repository == 'cilium/cilium' && needs.check_changes.outputs.tested == 'true' }} + if: ${{ needs.check_changes.outputs.tested == 'true' }} runs-on: ubuntu-latest steps: - name: Checkout diff --git a/.github/workflows/tests-smoke.yaml b/.github/workflows/tests-smoke.yaml index 79d5134dd594..db8bf40cd36b 100644 --- a/.github/workflows/tests-smoke.yaml +++ b/.github/workflows/tests-smoke.yaml @@ -6,6 +6,7 @@ on: push: branches: - v1.10 + - ft/v1.10/** permissions: read-all @@ -98,7 +99,7 @@ jobs: conformance-test: needs: check_changes - if: ${{ github.repository == 'cilium/cilium' && needs.check_changes.outputs.tested == 'true' }} + if: ${{ needs.check_changes.outputs.tested == 'true' }} runs-on: ubuntu-latest steps: - name: Checkout