From ab184cbf3c8ff16378cfa00fa1cb23cb58ac1727 Mon Sep 17 00:00:00 2001 From: Jongwoo Han Date: Tue, 19 Sep 2023 21:33:06 +0900 Subject: [PATCH] Replace deprecated command with environment file (#554) --- .github/workflows_oca/oca-slack-issue-commented.yaml | 2 +- .github/workflows_oca/oca-slack-issue-opened.yaml | 2 +- .github/workflows_oca/oca-slack-issue-reopened.yaml | 2 +- .github/workflows_oca/oca-slack-pr-created.yaml | 2 +- .github/workflows_oca/oca-slack-pr-updated.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows_oca/oca-slack-issue-commented.yaml b/.github/workflows_oca/oca-slack-issue-commented.yaml index d7a15ad0..93865d2a 100644 --- a/.github/workflows_oca/oca-slack-issue-commented.yaml +++ b/.github/workflows_oca/oca-slack-issue-commented.yaml @@ -23,7 +23,7 @@ jobs: run: | $isOcaParticipant = "${{ contains(secrets.OCA_PARTICIPANTS, github.event.comment.user.login) }}" - echo "::set-output name=isOcaParticipant::$isOcaParticipant" + echo "isOcaParticipant=$isOcaParticipant" >> $GITHUB_OUTPUT - name: Add a label if: ${{ steps.checkpoint.outputs.isOcaParticipant == 'true' }} diff --git a/.github/workflows_oca/oca-slack-issue-opened.yaml b/.github/workflows_oca/oca-slack-issue-opened.yaml index 944761fb..58da13e1 100644 --- a/.github/workflows_oca/oca-slack-issue-opened.yaml +++ b/.github/workflows_oca/oca-slack-issue-opened.yaml @@ -23,7 +23,7 @@ jobs: run: | $isOcaParticipant = "${{ contains(secrets.OCA_PARTICIPANTS, github.event.issue.user.login) }}" - echo "::set-output name=isOcaParticipant::$isOcaParticipant" + echo "isOcaParticipant=$isOcaParticipant" >> $GITHUB_OUTPUT - name: Add a label if: ${{ steps.checkpoint.outputs.isOcaParticipant == 'true' }} diff --git a/.github/workflows_oca/oca-slack-issue-reopened.yaml b/.github/workflows_oca/oca-slack-issue-reopened.yaml index 4fba8016..c9de737f 100644 --- a/.github/workflows_oca/oca-slack-issue-reopened.yaml +++ b/.github/workflows_oca/oca-slack-issue-reopened.yaml @@ -23,7 +23,7 @@ jobs: run: | $isOcaParticipant = "${{ contains(secrets.OCA_PARTICIPANTS, github.event.issue.user.login) }}" - echo "::set-output name=isOcaParticipant::$isOcaParticipant" + echo "isOcaParticipant=$isOcaParticipant" >> $GITHUB_OUTPUT - name: Add a label if: ${{ steps.checkpoint.outputs.isOcaParticipant == 'true' }} diff --git a/.github/workflows_oca/oca-slack-pr-created.yaml b/.github/workflows_oca/oca-slack-pr-created.yaml index c819e439..088d5dca 100644 --- a/.github/workflows_oca/oca-slack-pr-created.yaml +++ b/.github/workflows_oca/oca-slack-pr-created.yaml @@ -26,7 +26,7 @@ jobs: echo "Requester: ${{ github.event.pull_request.user.login }}" $isOcaParticipant = "${{ contains(secrets.OCA_PARTICIPANTS, github.event.pull_request.user.login) }}" - echo "::set-output name=isOcaParticipant::$isOcaParticipant" + echo "isOcaParticipant=$isOcaParticipant" >> $GITHUB_OUTPUT - name: Add a label if: ${{ steps.checkpoint.outputs.isOcaParticipant == 'true' }} diff --git a/.github/workflows_oca/oca-slack-pr-updated.yaml b/.github/workflows_oca/oca-slack-pr-updated.yaml index 1c8cd7e1..ac24a23e 100644 --- a/.github/workflows_oca/oca-slack-pr-updated.yaml +++ b/.github/workflows_oca/oca-slack-pr-updated.yaml @@ -26,7 +26,7 @@ jobs: echo "Requester: ${{ github.event.pull_request.user.login }}" $isOcaParticipant = "${{ contains(secrets.OCA_PARTICIPANTS, github.event.pull_request.user.login) }}" - echo "::set-output name=isOcaParticipant::$isOcaParticipant" + echo "isOcaParticipant=$isOcaParticipant" >> $GITHUB_OUTPUT - name: Send a message to Slack if: ${{ steps.checkpoint.outputs.isOcaParticipant == 'true' }}