diff --git a/.github/workflows/sqaaas.yml b/.github/workflows/sqaaas.yml index 3a1fd0b5..6e7ca329 100644 --- a/.github/workflows/sqaaas.yml +++ b/.github/workflows/sqaaas.yml @@ -11,8 +11,16 @@ jobs: runs-on: ubuntu-latest name: Job that triggers SQAaaS platform steps: + - name: Extract branch name + shell: bash + run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT + id: extract_branch + - name: Print current branch name (debug) + shell: bash + run: echo running on branch ${{ steps.extract_branch.outputs.branch }} - name: SQAaaS assessment step uses: eosc-synergy/sqaaas-assessment-action@v1 with: repo: 'https://github.com/interTwin-eu/itwinai' - branch: 'sqaaas-code' + branch: ${{ steps.extract_branch.outputs.branch }} +