From debb386d5d49ac88f8d78a394c6c2fbfecca9113 Mon Sep 17 00:00:00 2001 From: asyncapi-bot <61865014+asyncapi-bot@users.noreply.github.com> Date: Fri, 27 Nov 2020 11:34:29 +0100 Subject: [PATCH] ci: update global workflows (#206) ci: update global workflows --- .github/workflows/automerge.yml | 1 + .github/workflows/sentiment-analysis.yml | 2 +- .github/workflows/welcome-first-time-contrib.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index d7374542f..eb5907bc0 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -22,6 +22,7 @@ on: jobs: autoapprove: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - name: Autoapproving diff --git a/.github/workflows/sentiment-analysis.yml b/.github/workflows/sentiment-analysis.yml index ac5c945ff..90607cfe6 100644 --- a/.github/workflows/sentiment-analysis.yml +++ b/.github/workflows/sentiment-analysis.yml @@ -34,7 +34,7 @@ jobs: gcp_key: ${{ secrets.GCP_KEY_SENTIMENT }} - uses: someimportantcompany/github-actions-slack-message@v1 # this step runs only if sentiment is a negative number - if: steps.sentiments.outputs.sentiment < -0.2 + if: steps.sentiments.outputs.sentiment < -0.6 with: webhook-url: ${{ secrets.SLACK_SENTIMENTS }} text: Here ${{steps.sentiments.outputs.source}} you can find a potential negative text that requires your attention as the sentiment analysis score is ${{steps.sentiments.outputs.sentiment}} diff --git a/.github/workflows/welcome-first-time-contrib.yml b/.github/workflows/welcome-first-time-contrib.yml index 847ea6fd8..554300ba8 100644 --- a/.github/workflows/welcome-first-time-contrib.yml +++ b/.github/workflows/welcome-first-time-contrib.yml @@ -12,7 +12,7 @@ jobs: welcome: runs-on: ubuntu-latest steps: - - uses: actions/first-interaction@v1.0.0 + - uses: actions/first-interaction@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} issue-message: |