forked from openedx/frontend-app-authoring
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'navin/course-outline/section' into steff456/dragndrop
- Loading branch information
Showing
31 changed files
with
292 additions
and
500 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,10 @@ | ||
# Run commitlint on the commit messages in a pull request. | ||
# | ||
# This is the same worflow of | ||
# https://github.com/openedx/.github/blob/master/.github/workflows/commitlint.yml | ||
# | ||
# We are using typescript with react-query on this MFE, and it is necessary | ||
# to add one more step to remove tsconfig.json due to an issue in commitlint. | ||
# https://github.com/conventional-changelog/commitlint/issues/3256 | ||
# | ||
# We can return use the open edx workflow when the issue is fixed. | ||
|
||
name: Lint Commit Messages | ||
|
||
on: | ||
- pull_request | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
commitlint: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v4 | ||
with: | ||
# Fetch 100 commits. Should be enough? | ||
fetch-depth: 100 | ||
|
||
- name: Download a local configuration file if needed | ||
run: | | ||
if [[ ! -f commitlint.config.js ]]; then | ||
echo "Downloading the default commitlint config from edx_lint" | ||
wget --no-verbose -O commitlint.config.js https://raw.githubusercontent.com/openedx/edx-lint/HEAD/edx_lint/files/commitlint.config.js | ||
fi | ||
- name: remove tsconfig.json # see issue https://github.com/conventional-changelog/commitlint/issues/3256 | ||
run: | | ||
rm -f tsconfig.json | ||
- name: Run commitlint | ||
uses: wagoid/commitlint-github-action@v5 | ||
uses: openedx/.github/.github/workflows/commitlint.yml@master |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.