Skip to content

Commit 1f9c4ac

Browse files
authored
Don't post a build link comment separately if the OG is deleted
1 parent 2acc5ec commit 1f9c4ac

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/comment-!build-commands.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -103,22 +103,11 @@ jobs:
103103
repo: context.repo.repo,
104104
body: '!build ([build link](https://github.com/GraphiteEditor/Graphite/actions/runs/' + context.runId + '))'
105105
});
106-
107-
- name: ❗ Post fallback comment if OG deleted
108-
if: ${{ failure() }}
109-
uses: actions/github-script@v6
110-
with:
111-
script: |
112-
github.rest.issues.createComment({
113-
issue_number: context.issue.number,
114-
owner: context.repo.owner,
115-
repo: context.repo.repo,
116-
body: 'A build was requested, [building...](https://github.com/GraphiteEditor/Graphite/actions/runs/' + context.runId + ')'
117-
});
118106
119107
- name: 🌐 Build Graphite web code
120108
env:
121109
NODE_ENV: production
110+
if: ${{ success() || failure()}}
122111
run: |
123112
cd frontend
124113
mold -run npm run ${{ steps.build_command.outputs.command }}

0 commit comments

Comments
 (0)