Skip to content

Initial Gitlab setup for 1.16 #19

Initial Gitlab setup for 1.16

Initial Gitlab setup for 1.16 #19

---
name: Call Backport Label Updater
on:
pull_request_target:
types:
- closed
branches:
- v[0-9]+.[0-9]+*
jobs:
call-backport-label-updater:

Check failure on line 11 in .github/workflows/call-backport-label-updater.yaml

View workflow run for this annotation

GitHub Actions / Call Backport Label Updater

Invalid workflow file

The workflow is not valid. .github/workflows/call-backport-label-updater.yaml (Line: 11, Col: 5): Error calling workflow 'cilium/cilium/.github/workflows/update-label-backport-pr.yaml@main'. The nested job 'backport-label-updater' is requesting 'pull-requests: write, repository-projects: read', but is only allowed 'pull-requests: none, repository-projects: none'.
name: Update backport labels for upstream PR
if: |
github.event.pull_request.merged == true &&
contains(github.event.pull_request.body, 'upstream-prs') &&
contains(join(github.event.pull_request.labels.*.name, ', '), 'backport/')
uses: cilium/cilium/.github/workflows/update-label-backport-pr.yaml@main
with:
pr-body: ${{ github.event.pull_request.body }}
branch: ${{ github.base_ref }}
secrets: inherit