Update Contributors #102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Contributors | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * *" | |
permissions: | |
actions: write | |
contents: write | |
pull-requests: write | |
jobs: | |
update-contributors-and-create-pr: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Free Disk Space | |
uses: ./.github/actions/free-disk-space | |
- name: Install toolchain | |
uses: moonrepo/setup-rust@b8edcc56aab474d90c7cf0bb8beeaf8334c15e9f # v1 | |
with: | |
bins: cargo-nextest | |
cache-base: main | |
- name: Update Contributors | |
run: cargo run --bin xtask_contributors -- --token ${{ secrets.GITHUB_TOKEN }} | |
- name: Create Pull Request | |
id: create-pull-request | |
uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e # v6 | |
with: | |
branch: chore/update-contributors | |
title: "chore(website): update contributors" | |
body: "" | |
labels: A-Website |