mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-17 20:17:02 +05:30
github: tweak workflows and remove unused cruft
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
daa3d07f7a
commit
07d46605c7
3 changed files with 5 additions and 6 deletions
3
.github/auto-merge.yml
vendored
3
.github/auto-merge.yml
vendored
|
@ -1,3 +0,0 @@
|
||||||
requiredLabels:
|
|
||||||
- automerge
|
|
||||||
deleteBranchAfterMerge: true
|
|
2
.github/workflows/automerge.yml
vendored
2
.github/workflows/automerge.yml
vendored
|
@ -25,3 +25,5 @@ jobs:
|
||||||
uses: "pascalgn/automerge-action@v0.11.0"
|
uses: "pascalgn/automerge-action@v0.11.0"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
UPDATE_RETRIES: 10
|
||||||
|
UPDATE_RETRY_SLEEP: 60000
|
||||||
|
|
6
.github/workflows/pull_request.yml
vendored
6
.github/workflows/pull_request.yml
vendored
|
@ -17,9 +17,9 @@ jobs:
|
||||||
pull_number: context.payload.number,
|
pull_number: context.payload.number,
|
||||||
per_page: 100
|
per_page: 100
|
||||||
})
|
})
|
||||||
const serviceChanged = result.data.filter(f => f.filename.startsWith("app/") || f.filename.endsWith("gradle") || f.filename.startsWith(".github/workflows/pull_request.yml") || f.filename.startsWith("gradle") || f.filename.endsWith("properties")).length > 0
|
const shouldRun = result.data.filter(f => !f.filename.endsWith(".md") || !f.filename.endsWith(".yml")).length > 0
|
||||||
console.log(serviceChanged)
|
console.log(shouldRun)
|
||||||
return serviceChanged
|
return shouldRun
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
if: ${{ steps.service-changed.outputs.result == 'true' }}
|
if: ${{ steps.service-changed.outputs.result == 'true' }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue