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:
authorAsizon <43983086+Asizon@users.noreply.github.com>2022-02-15 23:35:56 +0300
committerGitHub <noreply@github.com>2022-02-15 23:35:56 +0300
commit1b1be265334f60d973b5472bf251bf7ad3b87a05 (patch)
treedb6efb7bfaaff5f379b2dfffbc6a29027ebcbe6c /.github
parent1c9ce766ba96c2ac379a1694b0c935f1393074fd (diff)
parent806acba0bd750609278834fd47063d376663acec (diff)
Merge pull request #2813 from Asizon/artifacts_links
Artifact links comment github workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/artifact-links.yml20
-rw-r--r--.github/workflows/ci.yml2
2 files changed, 21 insertions, 1 deletions
diff --git a/.github/workflows/artifact-links.yml b/.github/workflows/artifact-links.yml
new file mode 100644
index 00000000..d2ea7736
--- /dev/null
+++ b/.github/workflows/artifact-links.yml
@@ -0,0 +1,20 @@
+name: Artifact links comments creator
+on:
+ workflow_run:
+ workflows: ["PR"]
+ types: [completed]
+
+jobs:
+ artifacts-url-comments:
+ name: Add artifact links to PR and issues
+ runs-on: ubuntu-20.04
+ steps:
+ - name: Add artifact links to PR and issues
+ uses: tonyhallett/artifacts-url-comments@v1.1.0
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ prefix: "Do you want to test this code? Here you have an automated build:"
+ suffix: "WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!"
+ format: name
+ addTo: pullandissues
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 462ceec7..b191f3c5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -84,4 +84,4 @@ jobs:
with:
name: Betaflight-Configurator${{ env.debugBuild == 'true' && '-Debug' || '' }}-${{ matrix.name }}
path: release/
- retention-days: 10
+ retention-days: 90