From 3827d2a0a68fd1b0a000f3f0b4d53cac70f49fd2 Mon Sep 17 00:00:00 2001 From: Robbie Davis Date: Tue, 10 Aug 2021 21:12:53 -0400 Subject: [PATCH] Updating Docker Workflow (#471) * Updating docker action * adding version to message * adding way to get PR title and body * Adding input pass to workflows Workflow dispatches may not get push header info. Switching logic to pass needed title and body info through just in case. * adding token The description on this action is awful, it didn't mention needing a token. I found this solution from the repo's issues --- .github/workflows/sonar-scan.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/sonar-scan.yml b/.github/workflows/sonar-scan.yml index 68e5e5c36..82b8796c1 100644 --- a/.github/workflows/sonar-scan.yml +++ b/.github/workflows/sonar-scan.yml @@ -130,6 +130,8 @@ jobs: - name: Find Current Pull Request uses: jwalton/gh-find-current-pr@v1.0.2 id: findPr + with: + github-token: ${{ secrets.GITHUB_TOKEN }} - name: If Push to Develop, Trigger Docker Stable uses: benc-uk/workflow-dispatch@v1