mirror of
https://code.forgejo.org/actions/go-versions.git
synced 2024-11-06 05:25:48 -05:00
Comment out slack channel posting
To unblock future go builds immediately
This commit is contained in:
parent
b2fe27c0b9
commit
c18c2ac1ac
1 changed files with 16 additions and 16 deletions
32
.github/workflows/get-go-versions.yml
vendored
32
.github/workflows/get-go-versions.yml
vendored
|
@ -47,14 +47,14 @@ jobs:
|
||||||
$gitHubApi.CancelWorkflow("$env:GITHUB_RUN_ID")
|
$gitHubApi.CancelWorkflow("$env:GITHUB_RUN_ID")
|
||||||
Start-Sleep -Seconds 60
|
Start-Sleep -Seconds 60
|
||||||
|
|
||||||
- name: Send Slack notification
|
# - name: Send Slack notification
|
||||||
run: |
|
# run: |
|
||||||
$pipelineUrl = "$env:GITHUB_SERVER_URL/$env:GITHUB_REPOSITORY/actions/runs/$env:GITHUB_RUN_ID"
|
# $pipelineUrl = "$env:GITHUB_SERVER_URL/$env:GITHUB_REPOSITORY/actions/runs/$env:GITHUB_RUN_ID"
|
||||||
$message = "The following versions of '${{ env.TOOL_NAME }}' are available to upload: ${{ env.TOOL_VERSIONS }}\nLink to the pipeline: $pipelineUrl"
|
# $message = "The following versions of '${{ env.TOOL_NAME }}' are available to upload: ${{ env.TOOL_VERSIONS }}\nLink to the pipeline: $pipelineUrl"
|
||||||
./helpers/get-new-tool-versions/send-slack-notification.ps1 -Url "${{ secrets.SLACK_CHANNEL_URL }}" `
|
# ./helpers/get-new-tool-versions/send-slack-notification.ps1 -Url "${{ secrets.SLACK_CHANNEL_URL }}" `
|
||||||
-ToolName "${{ env.TOOL_NAME }}" `
|
# -ToolName "${{ env.TOOL_NAME }}" `
|
||||||
-ImageUrl "https://golang.org/lib/godoc/images/footer-gopher.jpg" `
|
# -ImageUrl "https://golang.org/lib/godoc/images/footer-gopher.jpg" `
|
||||||
-Text "$message"
|
# -Text "$message"
|
||||||
trigger_builds:
|
trigger_builds:
|
||||||
name: Trigger builds
|
name: Trigger builds
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -86,11 +86,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- name: Send Slack notification if build fails
|
# - name: Send Slack notification if build fails
|
||||||
run: |
|
# run: |
|
||||||
$pipelineUrl = "$env:GITHUB_SERVER_URL/$env:GITHUB_REPOSITORY/actions/runs/$env:GITHUB_RUN_ID"
|
# $pipelineUrl = "$env:GITHUB_SERVER_URL/$env:GITHUB_REPOSITORY/actions/runs/$env:GITHUB_RUN_ID"
|
||||||
$message = "The build of the '${{ env.TOOL_NAME }}' detection pipeline failed :progress-error:\nLink to the pipeline: $pipelineUrl"
|
# $message = "The build of the '${{ env.TOOL_NAME }}' detection pipeline failed :progress-error:\nLink to the pipeline: $pipelineUrl"
|
||||||
./helpers/get-new-tool-versions/send-slack-notification.ps1 -Url "${{ secrets.SLACK_CHANNEL_URL }}" `
|
# ./helpers/get-new-tool-versions/send-slack-notification.ps1 -Url "${{ secrets.SLACK_CHANNEL_URL }}" `
|
||||||
-ToolName "${{ env.TOOL_NAME }}" `
|
# -ToolName "${{ env.TOOL_NAME }}" `
|
||||||
-Text "$message" `
|
# -Text "$message" `
|
||||||
-ImageUrl "https://golang.org/lib/godoc/images/footer-gopher.jpg"
|
# -ImageUrl "https://golang.org/lib/godoc/images/footer-gopher.jpg"
|
||||||
|
|
Loading…
Reference in a new issue