From e9228f1aad432cb4c72a8eb623c1440dfb212f47 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sun, 23 Jan 2022 15:22:16 +0100 Subject: [PATCH] test --- .github/workflows/test.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..67f5bc1d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,34 @@ +name: Test +on: + push: + paths-ignore: + - README.md +jobs: + createPullRequest: + name: Create PR to setup-ruby + # needs: [build, buildJRubyWindows] + runs-on: ubuntu-latest + steps: + - name: Clone setup-ruby + uses: actions/checkout@v2 + with: + repository: ruby/setup-ruby + fetch-depth: 0 + token: ${{ secrets.CHECK_NEW_RELEASES_TOKEN }} + + - run: ruby new-version.rb jruby-9.3.3.0 + - run: ./pre-commit + + - uses: peter-evans/create-pull-request@v3 + id: pr + with: + push-to-fork: ruby-builder-bot/setup-ruby + author: ruby-builder-bot <98265520+ruby-builder-bot@users.noreply.github.com> + committer: ruby-builder-bot <98265520+ruby-builder-bot@users.noreply.github.com> + title: Add jruby-9.3.3.0 + commit-message: Add jruby-9.3.3.0 + body: Automated PR from ruby/ruby-builder + delete-branch: true + token: ${{ secrets.CHECK_NEW_RELEASES_TOKEN }} + - name: PR URL + run: echo "${{ steps.pr.outputs.pull-request-url }}"