From 4e44444d5a40de132104f3bd45138e58f6ae0396 Mon Sep 17 00:00:00 2001 From: Jorge <46056498+jorgectf@users.noreply.github.com> Date: Fri, 16 Feb 2024 16:03:01 +0100 Subject: [PATCH] Add copy workflow --- .github/workflows/copy-to-bughalla.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/copy-to-bughalla.yml diff --git a/.github/workflows/copy-to-bughalla.yml b/.github/workflows/copy-to-bughalla.yml new file mode 100644 index 000000000000..943935caa4a2 --- /dev/null +++ b/.github/workflows/copy-to-bughalla.yml @@ -0,0 +1,20 @@ +name: Copy to Bughalla + +on: push + +permissions: + contents: read + +jobs: + copy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - run: gh auth setup-git + env: + GITHUB_TOKEN: ${{ secrets.BUGHALLA_TOKEN }} + + - run: rm -rf .github/workflows/copy-to-bughalla.yml + - run: git remote add fork https://github.com/bughalla/codeql-actions + - run: git push fork master --force