forked from emuflight/EmuFlight
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f0358c
commit 1ed71fb
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Hide artifacts links comments | ||
|
||
on: | ||
pull_request_target: | ||
types: [synchronize, reopened] | ||
|
||
jobs: | ||
hide-artifacts-link-comments: | ||
name: Hide artifacts links | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Hide artifacts links from comments. | ||
uses: int128/hide-comment-action@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
contains: "Compiled HEX from this Pull-Request. WARNING: No warranty or guarantee of any kind. Test/Fly at your own risk!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Link PR Artifacts | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["Build EmuFlight"] | ||
types: ["completed"] | ||
|
||
jobs: | ||
artifacts-url-comments: | ||
name: Add artifact links | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Add artifact links | ||
uses: tonyhallett/artifacts-url-comments@v1.1.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
prefix: "Compiled HEX from this Pull-Request. WARNING: No warranty or guarantee of any kind. Test/Fly at your own risk!" | ||
format: name | ||
addTo: pull |