fix: updated git revert functionality to fix edge case #206
This file contains hidden or 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: MAIN | |
on: | |
push: | |
branches: | |
- main | |
- release-* | |
release: | |
types: | |
- published | |
pull_request: | |
branches: '*' | |
jobs: | |
init: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
# ON CHANGED FILES | |
build_labextension: | |
uses: ./.github/workflows/build.yml | |
needs: init | |
dockerize_labextension: | |
needs: build_labextension | |
uses: ./.github/workflows/docker.yml | |
secrets: inherit | |
if: github.event_name != 'pull_request' | |
release_labextension: | |
needs: build_labextension | |
if: startsWith(github.event.release.tag_name, 'grader-labextension') | |
uses: ./.github/workflows/publish_labextension.yml | |
secrets: inherit |