23
.github/workflows/configlet.yml
vendored
23
.github/workflows/configlet.yml
vendored
@@ -1,16 +1,15 @@
|
|||||||
name: Configlet CI
|
name: Configlet
|
||||||
|
|
||||||
on: [push, pull_request, workflow_dispatch]
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
configlet:
|
configlet:
|
||||||
runs-on: ubuntu-latest
|
uses: exercism/github-actions/.github/workflows/configlet.yml@main
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Fetch configlet
|
|
||||||
uses: exercism/github-actions/configlet-ci@main
|
|
||||||
|
|
||||||
- name: Configlet Linter
|
|
||||||
run: configlet lint
|
|
||||||
|
|||||||
18
.github/workflows/sync-labels.yml
vendored
18
.github/workflows/sync-labels.yml
vendored
@@ -2,20 +2,18 @@ name: Tools
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches:
|
||||||
|
- main
|
||||||
paths:
|
paths:
|
||||||
- .github/labels.yml
|
- .github/labels.yml
|
||||||
- .github/workflows/sync-labels.yml
|
- .github/workflows/sync-labels.yml
|
||||||
schedule:
|
|
||||||
- cron: 0 0 1 * *
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: 0 0 1 * * # First day of each month
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sync-labels:
|
sync-labels:
|
||||||
name: Sync labels
|
uses: exercism/github-actions/.github/workflows/labels.yml@main
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user