Skip to content

Commit

Permalink
Use shared actions for weekly builds and to auto assign for issues (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamyGolden authored Sep 21, 2024
1 parent a283be2 commit c773274
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/auto-assign-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: "Auto assignment for issues"
on:
issues:
types: ["opened"]

jobs:
auto-assign:
uses: "tinted-theming/home/.github/workflows/shared-auto-assign-issues.yml@main"
secrets:
token: ${{ secrets.BOT_ACCESS_TOKEN }}
25 changes: 7 additions & 18 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
name: Update with the latest colorschemes
name: "Update with the latest tinted-theming colorschemes"
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0" # https://crontab.guru/every-week

jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Fetch the repository code
uses: actions/checkout@v3
with:
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- name: Update schemes
uses: tinted-theming/tinted-builder-rust@latest
- name: Commit the changes, if any
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update with the latest tinted-theming colorschemes
branch: ${{ github.head_ref }}
commit_user_name: tinted-theming-bot
commit_user_email: [email protected]
commit_author: tinted-theming-bot <[email protected]>
build-and-commit:
uses: "tinted-theming/home/.github/workflows/shared-build-template-and-commit-themes.yml@main"
secrets:
token: ${{ secrets.BOT_ACCESS_TOKEN }}
with:
ref: ${{ github.head_ref }}

0 comments on commit c773274

Please sign in to comment.