2024-09-03 Release #7
Workflow file for this run
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
name: Post release diff | |
on: | |
# Triggers the workflow on pull request events for the master branch | |
pull_request: | |
branches: [ master ] | |
paths: | |
- 'src/ontology/diffs/uberon-diff.md' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
post_diff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare release diff comment | |
env: | |
GITHUB_SHA: ${{ github.sha }} | |
run: "echo \"[Here's a diff of how this release impacts uberon-base.owl](https://github.com/obophenotype/uberon/blob/${{ env.GITHUB_SHA }}/src/ontology/diffs/uberon-diff.md)\" >comment.md" | |
- name: Post comment | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
uses: NejcZdovc/comment-pr@v2 | |
with: | |
github_token: ${{ env.GITHUB_TOKEN }} | |
file: "../../comment.md" | |
identifier: "UBERON-DIFF" |