Skip to content

Commit b692b26

Browse files
authored
🤖 Sync org-wide files to upstream repo (exercism#2096)
More info: exercism/org-wide-files@cc4bf90
1 parent 176d7cd commit b692b26

2 files changed

Lines changed: 19 additions & 22 deletions

File tree

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
name: Configlet CI
1+
name: Configlet
22

3-
on: [push, pull_request, workflow_dispatch]
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: read
412

513
jobs:
614
configlet:
7-
runs-on: ubuntu-latest
8-
9-
steps:
10-
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
11-
12-
- name: Fetch configlet
13-
uses: exercism/github-actions/configlet-ci@main
14-
15-
- name: Configlet Linter
16-
run: configlet lint
15+
uses: exercism/github-actions/.github/workflows/configlet.yml@main

‎.github/workflows/sync-labels.yml‎

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,18 @@ name: Tools
22

33
on:
44
push:
5-
branches: [main]
5+
branches:
6+
- main
67
paths:
78
- .github/labels.yml
89
- .github/workflows/sync-labels.yml
9-
schedule:
10-
- cron: 0 0 1 * *
1110
workflow_dispatch:
11+
schedule:
12+
- cron: 0 0 1 * * # First day of each month
13+
14+
permissions:
15+
issues: write
1216

1317
jobs:
1418
sync-labels:
15-
name: Sync labels
16-
runs-on: ubuntu-latest
17-
steps:
18-
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
19-
- uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c
20-
env:
21-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
uses: exercism/github-actions/.github/workflows/labels.yml@main

0 commit comments

Comments
 (0)