From a55d3e1fe403647418a2ab420b9319001b084626 Mon Sep 17 00:00:00 2001 From: Yurii Shynbuiev Date: Fri, 31 May 2024 18:23:15 +0800 Subject: [PATCH 1/2] ci: switch to the GitHub runners Signed-off-by: Yurii Shynbuiev --- .github/workflows/deployment.yml | 2 +- .github/workflows/ff-merge.yml | 2 +- .github/workflows/labeler.yml | 2 +- .github/workflows/unit-tests.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 4f4fa1866d..92aa9ceaa7 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -24,7 +24,7 @@ on: jobs: trigger-deployment: - runs-on: self-hosted + runs-on: ubuntu-latest steps: - name: Parse input parameters id: parse-params diff --git a/.github/workflows/ff-merge.yml b/.github/workflows/ff-merge.yml index 01b8442da2..9e395cb148 100644 --- a/.github/workflows/ff-merge.yml +++ b/.github/workflows/ff-merge.yml @@ -18,7 +18,7 @@ on: jobs: fast_forward_job: name: Fast Forward Merge - runs-on: self-hosted + runs-on: ubuntu-latest if: | github.event.issue.pull_request != '' && contains(github.event.comment.body, '/fast-forward') diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 86c36d5f06..e9783b1521 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -4,7 +4,7 @@ on: jobs: triage: - runs-on: self-hosted + runs-on: ubuntu-latest permissions: pull-requests: write steps: diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 5a45f81988..b04d76b4a7 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: self-hosted + runs-on: ubuntu-latest if: ${{ !contains(github.event.pull_request.title, '[skip ci]') }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 17d86aea86785f519bf4354e41112a3c79a47c6c Mon Sep 17 00:00:00 2001 From: Yurii Shynbuiev Date: Fri, 31 May 2024 18:36:55 +0800 Subject: [PATCH 2/2] style: megalinter fix Signed-off-by: Yurii Shynbuiev --- .github/workflows/ff-merge.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ff-merge.yml b/.github/workflows/ff-merge.yml index 9e395cb148..ebf9fbfdfa 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 @@ -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!"