Skip to content

Commit

Permalink
rollback retest action (envoyproxy#2400)
Browse files Browse the repository at this point in the history
Signed-off-by: zirain <zirain2009@gmail.com>
  • Loading branch information
zirain authored Jan 5, 2024
1 parent 4daa348 commit caf2ddb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 19 deletions.
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ updates:
directory: /
schedule:
interval: weekly
ignore:
# skip to update retest, because it won't work with the latest version
- dependency-name: "envoyproxy/toolshed/gh-actions/retest"
- package-ecosystem: github-actions
directory: /tools/github-actions/setup-deps
schedule:
Expand Down
24 changes: 5 additions & 19 deletions .github/workflows/command.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Return Action on PR Comment
name: Retest Action on PR Comment

on:
issue_comment:
Expand All @@ -8,7 +8,7 @@ permissions:
contents: read

jobs:
command:
retest:
if: |
${{
github.event.issue.pull_request
Expand All @@ -22,20 +22,6 @@ jobs:
pull-requests: write
actions: write
steps:
- uses: envoyproxy/toolshed/gh-actions/github/command@0c093e23192533019cf131e0016adb0ac73adc97 # actions-v0.2.18
name: Parse command from comment
id: command
with:
text: ${{ github.event.comment.body }}
matching: >-
^/(retest)
# retest
- uses: envoyproxy/toolshed/gh-actions/retest@6b3ddd1e42c252d68fb98973760c0ee1943c9c21 # actions-v0.2.20
if: ${{ steps.command.outputs.command == 'retest' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
comment-id: ${{ github.event.comment.id }}
pr-url: ${{ github.event.issue.pull_request.url }}
app-owner: "github-actions"
args: ${{ steps.command.outputs.args }}
- uses: envoyproxy/toolshed/gh-actions/retest@effeefe9b275dc8056f77c0e7b1010c252167d3e # actions-v0.0.2

Check warning on line 25 in .github/workflows/command.yaml

View workflow job for this annotation

GitHub Actions / lint

25:94 [comments] too few spaces before comment

Check warning on line 25 in .github/workflows/command.yaml

View workflow job for this annotation

GitHub Actions / lint

25:94 [comments] too few spaces before comment

Check warning on line 25 in .github/workflows/command.yaml

View workflow job for this annotation

GitHub Actions / lint

25:94 [comments] too few spaces before comment
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit caf2ddb

Please sign in to comment.