Generate parse tree #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: Postsubmit | |
on: | |
workflow_call: | |
push: | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref_name }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
security-events: write | |
id-token: write | |
actions: read | |
jobs: | |
build-and-test: | |
name: Build and Test | |
uses: friendly-fhir/.github/.github/workflows/go-build-and-test.yaml@master | |
with: | |
packages: ./... | |
go-version-file: go.mod | |
short-test: false | |
permissions: | |
contents: read | |
id-token: write | |
email-on-failure: | |
name: Email on Failure | |
runs-on: ubuntu-latest | |
needs: | |
- build-and-test | |
if: always() && failure() | |
continue-on-error: true | |
steps: | |
- name: Send email | |
uses: friendly-fhir/.github/actions/community/send-email@master | |
with: | |
recipient: [email protected] | |
api-key: ${{ secrets.MAILGUN_API_KEY }} | |
subject: ${{ github.repository}} Post-submit failed | |
body: | | |
The post-submit workflow for ${{ github.repository }} failed. | |
Please see ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} for details. |