CL release v2024-05-15 #28
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/cl-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@v3 | |
- name: Prepare release comment | |
env: | |
GITHUB_SHA: ${{ github.sha }} | |
run: "echo \"[Here's a diff of how this release impacts cl.owl](https://github.com/obophenotype/cell-ontology/blob/${{ env.GITHUB_SHA }}/src/ontology/diffs/cl-diff.md)\" >comment.md" | |
- name: Post reasoned comment | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
uses: NejcZdovc/[email protected] | |
with: | |
github_token: ${{ env.GITHUB_TOKEN }} | |
file: "../../comment.md" | |
identifier: "CL-DIFF" |