From ec67997b619f02648a5b6b0996ae3fdb8d89e20f Mon Sep 17 00:00:00 2001 From: Samir M Date: Wed, 26 Jun 2024 10:22:51 +0200 Subject: [PATCH] fixed pre commit --- .github/workflows/releasability.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/releasability.yaml b/.github/workflows/releasability.yaml index eae2d3e..aded043 100644 --- a/.github/workflows/releasability.yaml +++ b/.github/workflows/releasability.yaml @@ -2,22 +2,22 @@ --- name: Releasability status 'on': - check_suite: + check_suite: types: - - completed + - completed jobs: - update_releasability_status: + update_releasability_status: runs-on: ubuntu-latest name: Releasability status permissions: - id-token: write - statuses: write - contents: read + id-token: write + statuses: write + contents: read if: >- - (contains(fromJSON('["main", "master"]'), github.event.check_suite.head_branch) || startsWith(github.event.check_suite.head_branch, 'dogfood-') || startsWith(github.event.check_suite.head_branch, 'branch-')) - && github.event.check_suite.conclusion == 'success' - && github.event.check_suite.app.slug == 'cirrus-ci' + (contains(fromJSON('["main", "master"]'), github.event.check_suite.head_branch) || startsWith(github.event.check_suite.head_branch, 'dogfood-') || startsWith(github.event.check_suite.head_branch, 'branch-')) + && github.event.check_suite.conclusion == 'success' + && github.event.check_suite.app.slug == 'cirrus-ci' steps: - - uses: SonarSource/gh-action_releasability/releasability-status@v1.2.0 + - uses: SonarSource/gh-action_releasability/releasability-status@v1.2.0 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}