[bot] ms3 review of all scores (tests passed) #12
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: Push to main branch | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
ms3_review: | |
if: > | |
contains(github.event.head_commit.message,'dcml_corpus_workflow') | |
|| (github.actor != 'ms3-bot' && github.event.pusher.name != 'github-actions[bot]') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout corpus repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.MS3_BOT_TOKEN }} | |
path: ${{ github.event.repository.name }} | |
- name: Run 'ms3 review' via dcml_corpus_workflow action | |
uses: DCMLab/[email protected] | |
id: act_docker | |
with: | |
ms3-command: "push_to_main" | |
env: | |
Token: "${{ secrets.MS3_BOT_TOKEN }}" | |
commitFrom: "${{ github.event.before }}" | |
comment_msg: "${{ github.event.head_commit.message }}" | |
directory: "${{ github.workspace }}" | |
working_dir: ${{ github.event.repository.name }} |