From 0a18456507c69d7e43cbe0ea67a5d81eea21688e Mon Sep 17 00:00:00 2001 From: Armand Grillet <2117580+armandgrillet@users.noreply.github.com> Date: Thu, 25 Aug 2022 10:15:04 +0200 Subject: [PATCH] Move GH workflow step to have node_id unchanged (#54201) --- .github/workflows/issue-labeled.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/issue-labeled.yml b/.github/workflows/issue-labeled.yml index 9566819bc28..0d1c600bf4b 100644 --- a/.github/workflows/issue-labeled.yml +++ b/.github/workflows/issue-labeled.yml @@ -37,6 +37,15 @@ jobs: echo "BOARD=${BOARD}" >> $GITHUB_ENV echo "CHANNEL=${CHANNEL}" >> $GITHUB_ENV + - name: "Add to GitHub board" + if: ${{ env.BOARD != 'null' }} + uses: leonsteinhaeuser/project-beta-automations@v1.3.0 + with: + project_id: ${{ env.BOARD }} + organization: grafana + resource_node_id: ${{ github.event.issue.node_id }} + gh_token: ${{ secrets.GITHUB_TOKEN }} + - name: "Prepare payload" uses: frabert/replace-string-action@v2.0 id: preparePayload @@ -47,15 +56,6 @@ jobs: replace-with: "'" flags: 'g' - - name: "Add to GitHub board" - if: ${{ env.BOARD != 'null' }} - uses: leonsteinhaeuser/project-beta-automations@v1.3.0 - with: - project_id: ${{ env.BOARD }} - organization: grafana - resource_node_id: ${{ github.event.issue.node_id }} - gh_token: ${{ secrets.GITHUB_TOKEN }} - - name: "Send Slack notification" if: ${{ env.CHANNEL != 'null' }} uses: slackapi/slack-github-action@v1.14.0