[Rt-commit] rt branch, 4.4/github-actions-testing, updated. rt-4.4.4-226-gd2b8634238

Dianne Skoll dianne at bestpractical.com
Fri Feb 5 08:24:00 EST 2021


The branch, 4.4/github-actions-testing has been updated
       via  d2b86342389610ca5bef83a23443aaa7863632ce (commit)
      from  f2b0d1619f87f84bf0a9ef1239b02549f95ecac9 (commit)

Summary of changes:
 .github/workflows/github-action.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit d2b86342389610ca5bef83a23443aaa7863632ce
Author: Dianne Skoll <dianne at bestpractical.com>
Date:   Fri Feb 5 08:23:41 2021 -0500

    Yet another try at syntax that the Slack notifier will accept

diff --git a/.github/workflows/github-action.yml b/.github/workflows/github-action.yml
index ada986eabd..3fbcc8f53b 100644
--- a/.github/workflows/github-action.yml
+++ b/.github/workflows/github-action.yml
@@ -43,7 +43,7 @@ jobs:
           cancelled_text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) build was cancelled'
           fields: |
             [{ "title": "Repository", "value": "${env.GITHUB_REPOSITORY}", "short": true },
-            { "title": "Branch", "value": "${GITHUB_REF##*/}", "short": true },
+            { "title": "Branch", "value": "${env.GITHUB_REF}", "short": true },
             { "title": "Test", "value": "rt_test_mariadb", "short": true }]
   rt_test_sqlite:
     runs-on: ubuntu-latest
@@ -77,7 +77,7 @@ jobs:
           cancelled_text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) build was cancelled'
           fields: |
             [{ "title": "Repository", "value": "${env.GITHUB_REPOSITORY}", "short": true },
-            { "title": "Branch", "value": "${GITHUB_REF##*/}", "short": true },
+            { "title": "Branch", "value": "${env.GITHUB_REF}", "short": true },
             { "title": "Test", "value": "rt_test_sqlite", "short": true }]
   rt_test_postgresql_apache_mod_fcgid:
     runs-on: ubuntu-latest
@@ -111,5 +111,5 @@ jobs:
           cancelled_text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) build was cancelled'
           fields: |
             [{ "title": "Repository", "value": "${env.GITHUB_REPOSITORY}", "short": true },
-            { "title": "Branch", "value": "${GITHUB_REF##*/}", "short": true },
+            { "title": "Branch", "value": "${env.GITHUB_REF}", "short": true },
             { "title": "Test", "value": "rt_test_postgresql_apache_mod_fcgid", "short": true}]

-----------------------------------------------------------------------


More information about the rt-commit mailing list