mirror of
https://github.com/Sea-Haven-Industries/stampli-bulk-editor.git
synced 2026-10-07 10:29:02 +00:00
Merge branch 'main' into dependabot/pip/pyinstaller-gte-6.22.2
This commit is contained in:
commit
d02b578fb3
6 changed files with 4 additions and 69 deletions
44
.github/workflows/auto-merge.yaml
vendored
44
.github/workflows/auto-merge.yaml
vendored
|
|
@ -1,44 +0,0 @@
|
||||||
name: Enable auto-merge
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
types: [opened, ready_for_review, reopened, synchronize]
|
|
||||||
branches: [main]
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: enable-auto-merge-${{ github.event.pull_request.number }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
enable:
|
|
||||||
if: >-
|
|
||||||
github.event.pull_request.draft == false
|
|
||||||
&& github.event.pull_request.head.repo.full_name == github.repository
|
|
||||||
&& github.event.pull_request.user.login != 'dependabot[bot]'
|
|
||||||
&& github.event.pull_request.user.login != 'renovate[bot]'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Enable squash auto-merge
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
PR: ${{ github.event.pull_request.number }}
|
|
||||||
REPO: ${{ github.repository }}
|
|
||||||
run: |
|
|
||||||
set -euo pipefail
|
|
||||||
if [ "$(gh pr view "$PR" --repo "$REPO" --json autoMergeRequest --jq '.autoMergeRequest != null')" = "true" ]; then
|
|
||||||
echo "auto-merge already enabled"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
if ! out=$(gh pr merge "$PR" --repo "$REPO" --auto 2>&1); then
|
|
||||||
echo "$out"
|
|
||||||
if [ "$(gh pr view "$PR" --repo "$REPO" --json autoMergeRequest --jq '.autoMergeRequest != null')" = "true" ]; then
|
|
||||||
echo "auto-merge already enabled"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
printf '%s\n' "$out"
|
|
||||||
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
|
|
@ -9,7 +9,7 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
uses: Sea-Haven-Industries/.github/.github/workflows/ci-python-app.yaml@e5691d8a7f96ac4d5a841a82975ff0a4354d53ac # v1.0.7
|
uses: Sea-Haven-Industries/.github/.github/workflows/ci-python-app.yaml@af0f002e14a08cdbfd879c1183bfe7eb2604bce9 # v1.0.8
|
||||||
with:
|
with:
|
||||||
source-dirs: "."
|
source-dirs: "."
|
||||||
collect-only: false
|
collect-only: false
|
||||||
|
|
|
||||||
2
.github/workflows/dependency-review.yml
vendored
2
.github/workflows/dependency-review.yml
vendored
|
|
@ -7,4 +7,4 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
review:
|
review:
|
||||||
uses: Sea-Haven-Industries/.github/.github/workflows/callable-dependency-review.yaml@e5691d8a7f96ac4d5a841a82975ff0a4354d53ac # v1.0.7
|
uses: Sea-Haven-Industries/.github/.github/workflows/callable-dependency-review.yaml@af0f002e14a08cdbfd879c1183bfe7eb2604bce9 # v1.0.8
|
||||||
|
|
|
||||||
2
.github/workflows/labeler.yml
vendored
2
.github/workflows/labeler.yml
vendored
|
|
@ -10,4 +10,4 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
label:
|
label:
|
||||||
uses: Sea-Haven-Industries/.github/.github/workflows/callable-labeler.yaml@e5691d8a7f96ac4d5a841a82975ff0a4354d53ac # v1.0.7
|
uses: Sea-Haven-Industries/.github/.github/workflows/callable-labeler.yaml@af0f002e14a08cdbfd879c1183bfe7eb2604bce9 # v1.0.8
|
||||||
|
|
|
||||||
22
.github/workflows/policy.yaml
vendored
22
.github/workflows/policy.yaml
vendored
|
|
@ -1,22 +0,0 @@
|
||||||
name: PR Policy
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
types: [opened, reopened, synchronize, edited, labeled, unlabeled, ready_for_review]
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: "policy-${{ github.event.pull_request.number }}"
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
issues: read
|
|
||||||
pull-requests: read
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
policy:
|
|
||||||
uses: Sea-Haven-Industries/.github/.github/workflows/callable-pr-policy.yaml@e5691d8a7f96ac4d5a841a82975ff0a4354d53ac # v1.0.7
|
|
||||||
secrets:
|
|
||||||
JIRA_CLOUD_ID: ${{ secrets.JIRA_CLOUD_ID }}
|
|
||||||
JIRA_SERVICE_ACCOUNT_EMAIL: ${{ secrets.JIRA_SERVICE_ACCOUNT_EMAIL }}
|
|
||||||
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
|
|
||||||
1
.mergify.yml
Normal file
1
.mergify.yml
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
extends: .github
|
||||||
Loading…
Add table
Reference in a new issue