From 332e3e95ff85963638726f09e19c603415151f9f Mon Sep 17 00:00:00 2001 From: Peter Evans <18365890+peter-evans@users.noreply.github.com> Date: Mon, 25 Sep 2023 11:56:49 +0100 Subject: [PATCH] Add v5 test command --- ...{testv4-command.yml => testv5-command.yml} | 25 ++++++++----------- 1 file changed, 11 insertions(+), 14 deletions(-) rename .github/workflows/{testv4-command.yml => testv5-command.yml} (98%) diff --git a/.github/workflows/testv4-command.yml b/.github/workflows/testv5-command.yml similarity index 98% rename from .github/workflows/testv4-command.yml rename to .github/workflows/testv5-command.yml index a33339639..fa8fddfb8 100644 --- a/.github/workflows/testv4-command.yml +++ b/.github/workflows/testv5-command.yml @@ -1,7 +1,7 @@ name: test-command on: repository_dispatch: - types: [testv4-command] + types: [testv5-command] jobs: clean: runs-on: ubuntu-latest @@ -179,12 +179,7 @@ jobs: committer: GitHub 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 @@ -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 @@ -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: @@ -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: