mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-23 02:24:39 +01:00
* Add changelog. Fix zoom docs. Add Info.dev.plist info * Update build assets README.md * Update changelog * actions/checkout@v2 => v3 * Docs
34 lines
942 B
YAML
34 lines
942 B
YAML
name: Generate Sponsor Image
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
jobs:
|
|
update-sponsors:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'wailsapp/wails'
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Set node
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 16.x
|
|
|
|
- name: Update sponsors
|
|
run: cd scripts/sponsors && chmod 755 ./generate-sponsor-image.sh && ./generate-sponsor-image.sh
|
|
env:
|
|
SPONSORKIT_GITHUB_TOKEN: ${{ secrets.SPONSORS_TOKEN }}
|
|
SPONSORKIT_GITHUB_LOGIN: wailsapp
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v4
|
|
with:
|
|
commit-message: "chore: update sponsors.svg"
|
|
add-paths: "website/static/img/sponsors.svg"
|
|
title: Update Sponsor Image
|
|
body: Generated new image
|
|
branch: update-sponsors
|
|
delete-branch: true
|