Skip to content

Commit 16ca062

Browse files
authored
Use shared actions for weekly builds and to auto assign for issues (#13)
1 parent 48bf76c commit 16ca062

File tree

2 files changed

+18
-19
lines changed

2 files changed

+18
-19
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: "Auto assignment for issues"
2+
3+
on:
4+
issues:
5+
types: ["opened"]
6+
7+
jobs:
8+
auto-assign:
9+
uses: "tinted-theming/home/.github/workflows/shared-auto-assign-issues.yml@main"
10+
secrets:
11+
token: ${{ secrets.BOT_ACCESS_TOKEN }}

.github/workflows/update.yml

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,13 @@
1-
name: Update with the latest colorschemes
1+
name: Update with the latest tinted-theming colorschemes
22
on:
33
workflow_dispatch:
44
schedule:
55
- cron: "0 0 * * 0" # https://crontab.guru/every-week
66

77
jobs:
8-
run:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- name: Fetch the repository code
12-
uses: actions/checkout@v4
13-
with:
14-
token: ${{ secrets.BOT_ACCESS_TOKEN }}
15-
- name: Update schemes
16-
uses: tinted-theming/tinted-builder-rust@latest
17-
- name: Commit the changes, if any
18-
uses: stefanzweifel/git-auto-commit-action@v4
19-
with:
20-
commit_message: Update with the latest tinted-theming colorschemes
21-
branch: ${{ github.head_ref }}
22-
commit_user_name: tinted-theming-bot
23-
commit_user_email: tintedtheming@proton.me
24-
commit_author: tinted-theming-bot <tintedtheming@proton.me>
25-
8+
build-and-commit:
9+
uses: "tinted-theming/home/.github/workflows/shared-build-template-and-commit-themes.yml@main"
10+
secrets:
11+
token: ${{ secrets.BOT_ACCESS_TOKEN }}
12+
with:
13+
ref: ${{ github.head_ref }}

0 commit comments

Comments
 (0)