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