Add Sor kernels #7112
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: OnCommentPR | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
label: | |
runs-on: ubuntu-latest | |
if: github.event.issue.pull_request != '' && github.event.comment.body == 'label!' && (github.event.comment.author_association == 'COLLABORATOR' || github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER') | |
steps: | |
- name: Checkout the latest code (shallow clone) | |
uses: actions/checkout@v4 | |
with: | |
ref: develop | |
- name: Add appropriate labels | |
env: | |
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }} | |
run: cp --preserve .github/label.sh /tmp && /tmp/label.sh | |
check_format: | |
name: check-format | |
if: github.event.issue.pull_request != '' && github.event.comment.body == 'check-format!' && (github.event.comment.author_association == 'COLLABORATOR' || github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER') | |
uses: ./.github/workflows/check-formatting.yml | |
secrets: inherit | |
format: | |
name: format | |
runs-on: ubuntu-22.04 | |
if: github.event.issue.pull_request != '' && github.event.comment.body == 'format!' && (github.event.comment.author_association == 'COLLABORATOR' || github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER') | |
steps: | |
- name: Checkout the latest code (shallow clone) | |
uses: actions/checkout@v4 | |
with: | |
ref: develop | |
persist-credentials: false | |
- name: Commit formatting changes | |
env: | |
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }} | |
run: cp --preserve .github/format.sh /tmp && /tmp/format.sh |