mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 12:49:29 +08:00
Remove generate-contributors workflow for now
This commit is contained in:
parent
489689b477
commit
69d3a3f639
49
.github/workflows/generate-contributors.yml
vendored
49
.github/workflows/generate-contributors.yml
vendored
@ -1,49 +0,0 @@
|
||||
name: update-contributors-svg
|
||||
|
||||
on:
|
||||
workflow_dispatch: # Can trigger manually
|
||||
schedule:
|
||||
- cron: '0 7 * * *' # Schedule on everyday 7:00
|
||||
|
||||
jobs:
|
||||
update-svg:
|
||||
name: Update contributors SVG
|
||||
runs-on: ubuntu-latest # You can also try macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: lts/*
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2.2.2
|
||||
with:
|
||||
version: 7
|
||||
|
||||
- name: Run SVG generation script
|
||||
run: pnpx make-github-contributor-svg -t ${{ secrets.GITHUB_TOKEN }} -o wailsapp -r wails
|
||||
|
||||
- name: Move svg
|
||||
run: mv .github-contributors/*.svg website/static/img/
|
||||
|
||||
- name: Commit
|
||||
uses: EndBug/add-and-commit@v9
|
||||
with:
|
||||
message: "chore(workflow): update contributors image"
|
||||
add: "website/static/img/*"
|
||||
new_branch: "chore/update-contributors-svg"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v5
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
commit-message: "chore(workflow): update contributors image"
|
||||
title: "chore(workflow): update contributors image"
|
||||
body: "This PR was automatically generated by a GitHub workflow"
|
||||
branch: chore/update-contributors-svg
|
||||
base: master
|
||||
labels: "chore, workflow"
|
Loading…
Reference in New Issue
Block a user