Skip to content

Commit

Permalink
Merge branch 'version-15' into SepaV14
Browse files Browse the repository at this point in the history
  • Loading branch information
viralkansodiya authored Sep 20, 2024
2 parents 449de7f + 48eebf7 commit cf5de05
Show file tree
Hide file tree
Showing 16 changed files with 1,075 additions and 484 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Backport
on:
pull_request_target:
types:
- closed
- labeled

jobs:
backport:
name: Backport
runs-on: ubuntu-latest
# Only react to merged PRs for security reasons.
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.
if: >
github.event.pull_request.merged
&& (
github.event.action == 'closed'
|| (
github.event.action == 'labeled'
&& contains(github.event.label.name, 'backport')
)
)
steps:
- uses: tibdex/backport@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
6 changes: 1 addition & 5 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ env:

jobs:
mypy:
needs: [ py_json_merge ]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -40,7 +39,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

black:
needs: [ py_json_merge ]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -53,12 +51,11 @@ jobs:

- name: Install Black (Frappe)
run: pip install git+https://github.com/frappe/black.git

- name: Run Black (Frappe)
run: black --check .

prettier:
needs: [ py_json_merge ]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -76,4 +73,3 @@ jobs:
run: |
echo "The following files are not formatted:"
echo "${{steps.prettier-run.outputs.prettier_output}}" >> $GITHUB_OUTPUT
Loading

0 comments on commit cf5de05

Please sign in to comment.