Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/betaflight/betaflight-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Angel Mulero Martinez <migmul@gmail.com>2022-02-25 18:23:00 +0300
committerMiguel Angel Mulero Martinez <migmul@gmail.com>2022-02-25 20:31:26 +0300
commiteeffed725b404666cc94a61cfc42a9bedeed1698 (patch)
treec3ccf6fc34a3e28baa9d726f127a0cf75b705978
parentf7eb0e8b0a8efab7e9648f5287a6bc764d5b7084 (diff)
Create new workflow to hide artifact links
-rw-r--r--.github/workflows/hide-artifact-links.yml17
-rw-r--r--.github/workflows/pr.yml9
2 files changed, 17 insertions, 9 deletions
diff --git a/.github/workflows/hide-artifact-links.yml b/.github/workflows/hide-artifact-links.yml
new file mode 100644
index 00000000..5f61c9e7
--- /dev/null
+++ b/.github/workflows/hide-artifact-links.yml
@@ -0,0 +1,17 @@
+name: Hide artifact links comments
+
+on:
+ pull_request_target:
+ types: [synchronize, reopened]
+
+jobs:
+ hide-artifacts-link-comments:
+ name: Hide artifact links
+ runs-on: ubuntu-20.04
+ steps:
+ - name: Hide comments
+ uses: int128/hide-comment-action@v1
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ starts-with: "Do you want to test this code? Here you have an automated build:"
+ ends-with: "WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!"
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
index 538d11e1..c207e7e4 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -10,12 +10,3 @@ jobs:
ci:
name: CI
uses: ./.github/workflows/ci.yml
- hide:
- name: Hide artifact links
- runs-on: ubuntu-20.04
- steps:
- - name: Hide artifact links
- uses: int128/hide-comment-action@v1
- with:
- starts-with: "Do you want to test this code? Here you have an automated build:"
- ends-with: "WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!"