.github/workflows/rake.yml in metanorma-1.2.0 vs .github/workflows/rake.yml in metanorma-1.2.1
- old
+ new
@@ -3,10 +3,11 @@
name: rake
on:
push:
branches: [ master ]
+ tags: [ v* ]
pull_request:
jobs:
rake:
name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
@@ -40,5 +41,19 @@
- name: Update gems
run: bundle install --jobs 4 --retry 3
- name: Run specs
run: bundle exec rake
+
+ notify:
+ name: Trigger notify workflow
+ needs: rake
+ runs-on: ubuntu-latest
+ steps:
+ - name: Trigger notify workflow
+ uses: Sibz/github-status-action@v1
+ with:
+ authToken: ${{ secrets.GITHUB_TOKEN }}
+ context: 'tests-passed-successfully'
+ description: 'Tests passed successfully'
+ state: 'success'
+ sha: ${{ github.event.pull_request.head.sha || github.sha }}