Skip to content

Commit

Permalink
Add v5 test command
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-evans committed Sep 25, 2023
1 parent 9a84575 commit 332e3e9
Showing 1 changed file with 11 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: test-command
on:
repository_dispatch:
types: [testv4-command]
types: [testv5-command]
jobs:
clean:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -179,12 +179,7 @@ jobs:
committer: GitHub <noreply@github.com>
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
title: '[Example] Add report file (updated)'
body: |
New report (updated)
- Contains *today's* date
- Auto-generated by [create-pull-request][1]
[1]: /~https://github.com/peter-evans/create-pull-request
body-path: .github/pull-request-body.md
labels: |
report
automated pr
Expand Down Expand Up @@ -626,9 +621,15 @@ jobs:
add-paths: |
reports/report*.txt
*.dat
title: testAddPaths
branch: tests/add-paths

title: testAddPaths1
branch: tests/add-paths-1
- name: Create Pull Request
uses: ./create-pull-request-local
with:
add-paths: |
*.txt
title: testAddPaths2
branch: tests/add-paths-2

testCreateDraft:
needs: beforeTest
Expand Down Expand Up @@ -971,8 +972,6 @@ jobs:
- name: Install dependencies
run: apk --no-cache add git
- uses: actions/checkout@v3
# Workaround /~https://github.com/actions/checkout/issues/760
- run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
# Download the action artifact
- uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -1001,8 +1000,6 @@ jobs:
add-apt-repository -y ppa:git-core/ppa
apt-get install -y git
- uses: actions/checkout@v3
# Workaround /~https://github.com/actions/checkout/issues/760
- run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
# Download the action artifact
- uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 332e3e9

Please sign in to comment.