diff --git a/.github/workflows/dunamai.yml b/.github/workflows/dunamai.yml index aea20fe5e..12e5ee2e5 100644 --- a/.github/workflows/dunamai.yml +++ b/.github/workflows/dunamai.yml @@ -23,7 +23,7 @@ jobs: env-var: MY_VERSION - run: echo $MY_VERSION - run: echo "__version__ = \"v$MY_VERSION \"" > rlberry/_version.py - - uses: EndBug/add-and-commit@v8 + - uses: EndBug/add-and-commit@v9 with: add: 'rlberry/_version.py' default_author: github_actor diff --git a/.github/workflows/trigger_tests.yml b/.github/workflows/trigger_tests.yml new file mode 100644 index 000000000..3949b3740 --- /dev/null +++ b/.github/workflows/trigger_tests.yml @@ -0,0 +1,24 @@ +name: Trigger tests + +on: + pull_request: + types: + - labeled + +permissions: + pull-requests: write + +jobs: + add-comment: + if: github.event.label.name == 'ready for review' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + repository: ${{ github.event.pull_request.head.repo.full_name }} + ref: ${{ github.event.pull_request.head.ref }} + - uses: EndBug/add-and-commit@v9 + with: + commit: --allow-empty + default_author: github_actor + message: 'Trigger ci'