diff options
author | Brad Linden <46733234+brad-linden@users.noreply.github.com> | 2025-04-28 10:51:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-28 10:51:47 -0700 |
commit | 1f3ba13a632a751cc3217cbe02d8aa2190df6b41 (patch) | |
tree | 5c23646cd6fb3a3f06c27abcfe25c7e9a03fbe33 | |
parent | 04c0bc100401c8f4541b6eeda3a110291ee54166 (diff) |
Attempt to fix qatest.yaml CodeQL issues (#3987)
-rw-r--r-- | .github/workflows/.gitattributes | 1 | ||||
-rw-r--r-- | .github/workflows/qatest.yaml | 10 |
2 files changed, 9 insertions, 2 deletions
diff --git a/.github/workflows/.gitattributes b/.github/workflows/.gitattributes new file mode 100644 index 0000000000..6dc1cca42a --- /dev/null +++ b/.github/workflows/.gitattributes @@ -0,0 +1 @@ +qatest.yaml -text eol=crlf diff --git a/.github/workflows/qatest.yaml b/.github/workflows/qatest.yaml index 7f3a5242e9..4892cfaae3 100644 --- a/.github/workflows/qatest.yaml +++ b/.github/workflows/qatest.yaml @@ -1,4 +1,7 @@ name: Run QA Test # Runs automated tests on a self-hosted QA machine
+permissions:
+ contents: read
+ #pull-requests: write # maybe need to re-add this later
on:
workflow_run:
@@ -15,11 +18,14 @@ jobs: runs-on: ubuntu-latest
steps:
- name: Debug Workflow Variables
+ env:
+ HEAD_BRANCH: ${{ github.event.workflow_run.head_branch }}
+ HEAD_COMMIT_MSG: ${{ github.event.workflow_run.head_commit.message }}
run: |
echo "Workflow Conclusion: ${{ github.event.workflow_run.conclusion }}"
- echo "Workflow Head Branch: ${{ github.event.workflow_run.head_branch }}"
+ echo "Workflow Head Branch: $HEAD_BRANCH"
echo "Workflow Run ID: ${{ github.event.workflow_run.id }}"
- echo "Head Commit Message: ${{ github.event.workflow_run.head_commit.message }}"
+ echo "Head Commit Message: $HEAD_COMMIT_MSG"
echo "GitHub Ref: ${{ github.ref }}"
echo "GitHub Ref Name: ${{ github.ref_name }}"
echo "GitHub Event Name: ${{ github.event_name }}"
|