Skip to content

Commit

Permalink
Create new workflow to hide artifact links
Browse files Browse the repository at this point in the history
  • Loading branch information
McGiverGim committed Feb 25, 2022
1 parent f7eb0e8 commit eeffed7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/hide-artifact-links.yml
Original file line number Diff line number Diff line change
@@ -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!"
9 changes: 0 additions & 9 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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!"

0 comments on commit eeffed7

Please sign in to comment.