This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit f65b589409167dfaf0612d53bc3fc4836dcc7d6f Author: Alex <[email protected]> AuthorDate: Sun Sep 25 17:28:58 2022 +0200 build: harden main-push-build.yml permissions Signed-off-by: Alex <[email protected]> --- .github/workflows/main-push-build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main-push-build.yml b/.github/workflows/main-push-build.yml index f244e407d38..33c9e0b929c 100644 --- a/.github/workflows/main-push-build.yml +++ b/.github/workflows/main-push-build.yml @@ -29,8 +29,13 @@ on: - Jenkinsfile.* - NOTICE.txt +permissions: {} jobs: build: + permissions: + contents: write # to create branch (peter-evans/create-pull-request) + pull-requests: write # to create a PR (peter-evans/create-pull-request) + runs-on: ubuntu-latest strategy: matrix:
