From 1e432cd4b54aee77ef4305441396465e15c9244f Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sat, 7 May 2022 11:13:11 +0200 Subject: [PATCH] :robot: use fork for PRs --- .github/workflows/bump_cos.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bump_cos.yml b/.github/workflows/bump_cos.yml index 5a0e3a3b3..c362bb74c 100644 --- a/.github/workflows/bump_cos.yml +++ b/.github/workflows/bump_cos.yml @@ -8,17 +8,18 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - with: - ssh-key: ${{ secrets.SSH_KEY }} - name: Bump cos 🔧 run: | docker run --name=yq -v "${PWD}":/workdir mikefarah/yq docker cp yq:/usr/bin/yq ./ export YQ=$PWD/yq sudo -E bash ./.github/bump_cos.sh + rm -rf yq - name: Create Pull Request uses: peter-evans/create-pull-request@v4 with: + token: ${{ secrets.PAT }} + push-to-fork: ci-forks/c3os commit-message: ":arrow_up: Bump cOS" title: "cOS bump" body: "Bump of cOS repositories"