From f3bc77af116074cebb606b889b003c31d69f7754 Mon Sep 17 00:00:00 2001 From: Pat Losoponkul Date: Fri, 31 May 2024 19:32:07 +0700 Subject: [PATCH] Revert "ci: switch to the GitHub runners (#1121)" This reverts commit efba1aac0be8bfdb73cbc11cdd0cc0d0aa283aea. Signed-off-by: Pat Losoponkul --- .github/workflows/deployment.yml | 2 +- .github/workflows/ff-merge.yml | 8 ++++---- .github/workflows/labeler.yml | 2 +- .github/workflows/unit-tests.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 92aa9ceaa7..4f4fa1866d 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -24,7 +24,7 @@ on: jobs: trigger-deployment: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - name: Parse input parameters id: parse-params diff --git a/.github/workflows/ff-merge.yml b/.github/workflows/ff-merge.yml index ebf9fbfdfa..01b8442da2 100644 --- a/.github/workflows/ff-merge.yml +++ b/.github/workflows/ff-merge.yml @@ -7,7 +7,7 @@ name: Fast-forward merge # This workflow helps to merge multiple commits from PR to main branch of the repository # without loosing of PGP signature. # -# Related GitHub discussions: +# Related GitHub discussions: # https://github.com/community/community/discussions/10410 # https://github.com/orgs/community/discussions/5524 @@ -18,7 +18,7 @@ on: jobs: fast_forward_job: name: Fast Forward Merge - runs-on: ubuntu-latest + runs-on: self-hosted if: | github.event.issue.pull_request != '' && contains(github.event.comment.body, '/fast-forward') @@ -29,5 +29,5 @@ jobs: uses: endre-spotlab/fast-forward-js-action@2.1 with: GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }} - success_message: "Success! Fast forwarded ***target_base*** to ***source_head***! ```git checkout target_base && git merge source_head --ff-only``` " - failure_message: "Failed! Cannot do fast forward!" + success_message: 'Success! Fast forwarded ***target_base*** to ***source_head***! ```git checkout target_base && git merge source_head --ff-only``` ' + failure_message: 'Failed! Cannot do fast forward!' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index e9783b1521..86c36d5f06 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -4,7 +4,7 @@ on: jobs: triage: - runs-on: ubuntu-latest + runs-on: self-hosted permissions: pull-requests: write steps: diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index b04d76b4a7..5a45f81988 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -15,7 +15,7 @@ on: jobs: build-and-unit-tests: name: "Build and unit tests" - runs-on: ubuntu-latest + runs-on: self-hosted if: ${{ !contains(github.event.pull_request.title, '[skip ci]') }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}