Skip to content

Commit

Permalink
ci: pin workflow-status action (#6109)
Browse files Browse the repository at this point in the history
### Summary
Bumps the version of the `slack-workflow-status` action. 

### QA Notes

Ran a workflow to confirm the new version works as expected:

https://github.com/posit-dev/positron/actions/runs/12999009945/job/36253613832
  • Loading branch information
midleman authored Jan 28, 2025
1 parent 690592e commit c3ec1ea
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 23 deletions.
1 change: 1 addition & 0 deletions .github/actions/gen-report-dir/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ runs:
# Generate the REPORT_URL
REPORT_URL="${{ inputs.bucket-url }}/$REPORT_DIR/index.html"
echo "Report URL: $REPORT_URL"
echo "REPORT_URL=$REPORT_URL" >> $GITHUB_ENV
# Append REPORT_URL to the GitHub Step summary
echo "📄 [Playwright Report]($REPORT_URL) <br>" >> $GITHUB_STEP_SUMMARY
7 changes: 4 additions & 3 deletions .github/workflows/positron-python-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,11 @@ jobs:

steps:
- name: Send Slack Notification
uses: midleman/slack-workflow-status@master
uses: midleman/slack-workflow-status@v2.0.1
with:
repo_token: ${{ secrets.POSITRON_GITHUB_PAT }}
slack_webhook_url: ${{ secrets.SLACK_TEST_RESULTS_WEBHOOK_URL }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
slack_token: ${{ secrets.SLACK_TOKEN_TEST_STATUS }}
channel: "#positron-test-results"
include_jobs_time: "false"
notify_on: "failure"

1 change: 1 addition & 0 deletions .github/workflows/test-e2e-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ jobs:
continue-on-error: true

- name: Attempt 3 - Setup Build and Compile
id: attempt3
if: ${{ steps.attempt2.outcome == 'failure' }}
uses: ./.github/actions/setup-build-env

Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test-e2e-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,9 @@ jobs:
- run: |
echo "Will notify on: ${{ env.notify_on }}"
- name: Notify Slack
uses: midleman/slack-workflow-status@master
uses: midleman/slack-workflow-status@v2.0.1
with:
repo_token: ${{ secrets.POSITRON_GITHUB_PAT }}
slack_webhook_url: ${{ secrets.SLACK_TEST_RESULTS_WEBHOOK_URL }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
slack_token: ${{ secrets.SLACK_TOKEN_TEST_STATUS }}
channel: "#positron-test-results"
notify_on: ${{ env.notify_on }}
7 changes: 4 additions & 3 deletions .github/workflows/test-full-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,10 @@ jobs:
- run: |
echo "Will notify on: ${{ env.notify_on }}"
- name: Notify Slack
uses: midleman/slack-workflow-status@master
uses: midleman/slack-workflow-status@v2.0.1
with:
repo_token: ${{ secrets.POSITRON_GITHUB_PAT }}
slack_webhook_url: ${{ secrets.SLACK_TEST_RESULTS_WEBHOOK_URL }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
slack_token: ${{ secrets.SLACK_TOKEN_TEST_STATUS }}
channel: "#positron-test-results"
notify_on: ${{ env.notify_on }}

9 changes: 5 additions & 4 deletions .github/workflows/test-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ jobs:
needs: [unit-tests, integration-tests, e2e-electron, e2e-windows-electron, e2e-linux-browser]
runs-on: ubuntu-latest
steps:
- name: Send Slack Notification
uses: midleman/slack-workflow-status@master
- name: Notify Slack
uses: midleman/slack-workflow-status@v2.0.1
with:
repo_token: ${{ secrets.POSITRON_GITHUB_PAT }}
slack_webhook_url: ${{ secrets.SLACK_TEST_RESULTS_WEBHOOK_URL }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
slack_token: ${{ secrets.SLACK_TOKEN_TEST_STATUS }}
channel: "#positron-test-results"
notify_on: "failure"


2 changes: 1 addition & 1 deletion .github/workflows/test-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Parse Tags from PR Body
id: pr-tags
run: bash scripts/pr-tags-parse.sh
Expand Down Expand Up @@ -75,3 +74,4 @@ jobs:
name: test
uses: ./.github/workflows/test-integration.yml
secrets: inherit

13 changes: 4 additions & 9 deletions build/secrets/.secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,6 @@
"path": "detect_secrets.filters.common.is_baseline_file",
"filename": "build/secrets/.secrets.baseline"
},
{
"path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies",
"min_level": 2
},
{
"path": "detect_secrets.filters.heuristic.is_indirect_reference"
},
Expand Down Expand Up @@ -163,7 +159,7 @@
"filename": ".github/workflows/test-pull-request.yml",
"hashed_secret": "3e26d6750975d678acb8fa35a0f69237881576b0",
"is_verified": false,
"line_number": 42,
"line_number": 41,
"is_secret": false
}
],
Expand Down Expand Up @@ -606,10 +602,9 @@
{
"type": "Hex High Entropy String",
"filename": "product.json",
"hashed_secret": "27bfe50252487b86551f6fc7209ff683e52d451f",
"hashed_secret": "4762b62a1d96fce4a3071114c8e0223be11d1fda",
"is_verified": false,
"line_number": 231,
"is_secret": false
"line_number": 231
}
],
"scripts/playground-server.ts": [
Expand Down Expand Up @@ -1945,5 +1940,5 @@
}
]
},
"generated_at": "2025-01-13T20:47:54Z"
"generated_at": "2025-01-27T19:50:17Z"
}

0 comments on commit c3ec1ea

Please sign in to comment.