Skip to content

Commit 5790327

Browse files
authored
Remove PR workflow and disable PR comments (#1413)
Delete the standalone .github/workflows/pr.yml workflow and comment out the sticky PR comment steps in .github/workflows/build.yml. Artifact upload and build steps remain unchanged; only the actions that post/update pull request comments (marocchino/sticky-pull-request-comment) and associated PR_PAT usage were disabled.
1 parent 75926c8 commit 5790327

File tree

2 files changed

+19
-88
lines changed

2 files changed

+19
-88
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,17 @@ jobs:
2525
- name: Build with Gradle
2626
run: ./gradlew test
2727

28-
- name: Add comment with binaries
29-
if: ${{ github.event_name == 'pull_request' }}
30-
uses: marocchino/sticky-pull-request-comment@v2
31-
with:
32-
header: artifacts
33-
GITHUB_TOKEN: ${{ secrets.PR_PAT }}
34-
message: |
35-
Tests completed successfully. Build artifacts for this pull request will appear below once ready.
36-
37-
### Build Artifacts
38-
| Platform | Link |
39-
|:--|------------------------|
28+
# - name: Add comment with binaries
29+
# if: ${{ github.event_name == 'pull_request' }}
30+
# uses: marocchino/sticky-pull-request-comment@v2
31+
# with:
32+
# header: artifacts
33+
# message: |
34+
# Tests completed successfully. Build artifacts for this pull request will appear below once ready.
35+
#
36+
# ### Build Artifacts
37+
# | Platform | Link |
38+
# |:--|------------------------|
4039

4140
build:
4241
name: (${{ matrix.os_prefix }}/${{ matrix.arch }}) Create Processing Build
@@ -95,13 +94,12 @@ jobs:
9594
retention-days: 5
9695
path: app/build/compose/binaries/main/${{ matrix.binary }}
9796

98-
- name: Add comment with binaries
99-
if: ${{ github.event_name == 'pull_request' }}
100-
uses: marocchino/sticky-pull-request-comment@v2
101-
with:
102-
append: true
103-
header: artifacts
104-
GITHUB_TOKEN: ${{ secrets.PR_PAT }}
105-
message: |
106-
|(${{ matrix.os_prefix }}/${{ matrix.arch }})|[Download processing-${{ matrix.os_prefix }}-${{ matrix.arch }}-pr_${{ github.event.pull_request.number }}](${{ steps.upload-artifact.outputs.artifact-url }})|
97+
# - name: Add comment with binaries
98+
# if: ${{ github.event_name == 'pull_request' }}
99+
# uses: marocchino/sticky-pull-request-comment@v2
100+
# with:
101+
# append: true
102+
# header: artifacts
103+
# message: |
104+
# |(${{ matrix.os_prefix }}/${{ matrix.arch }})|[Download processing-${{ matrix.os_prefix }}-${{ matrix.arch }}-pr_${{ github.event.pull_request.number }}](${{ steps.upload-artifact.outputs.artifact-url }})|
107105

.github/workflows/pr.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)