mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 15:30:37 +08:00
chore: update auto workflows (#2555)
* chore: update workflows * chore: update Taskfile * chore: add lable to auto-sync pr
This commit is contained in:
parent
a998465034
commit
7f1093dc51
@ -26,5 +26,5 @@ jobs:
|
||||
add-paths: "website/static/img/contributors.svg"
|
||||
title: Update Contributors Image
|
||||
body: Generated new image
|
||||
branch: update-contributors
|
||||
branch: chore/update-contributors
|
||||
delete-branch: true
|
10
.github/workflows/label-sponsors.yml
vendored
10
.github/workflows/label-sponsors.yml
vendored
@ -1,9 +1,9 @@
|
||||
name: Label sponsors
|
||||
name: Label Sponsors
|
||||
on:
|
||||
pull_request:
|
||||
types: [ opened ]
|
||||
types: [opened]
|
||||
issues:
|
||||
types: [ opened ]
|
||||
types: [opened]
|
||||
jobs:
|
||||
build:
|
||||
name: is-sponsor-label
|
||||
@ -11,5 +11,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: JasonEtco/is-sponsor-label-action@v1
|
||||
with:
|
||||
label: Sponsor ❤️
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
6
.github/workflows/push.yml
vendored
6
.github/workflows/push.yml
vendored
@ -13,8 +13,8 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Verify Changed files
|
||||
uses: tj-actions/verify-changed-files@v11.1
|
||||
id: verify-changed-files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v35
|
||||
with:
|
||||
files: |
|
||||
website/**/*.mdx
|
||||
@ -27,7 +27,7 @@ jobs:
|
||||
node-version: 16.x
|
||||
|
||||
- name: Push files
|
||||
if: steps.verify-changed-files.outputs.files_changed == 'true'
|
||||
if: steps.changed-files.outputs.any_changed == 'true'
|
||||
env:
|
||||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
||||
run: |
|
||||
|
@ -1,4 +1,4 @@
|
||||
name: Sync Translated Documents
|
||||
name: Sync Translations
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@ -23,9 +23,10 @@ jobs:
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v4
|
||||
with:
|
||||
commit-message: "docs: sync documents"
|
||||
title: "docs: sync documents"
|
||||
commit-message: "docs: sync translations"
|
||||
title: "docs: sync translations"
|
||||
body: "- [x] Sync translated documents"
|
||||
branch: feature/documents
|
||||
branch: chore/sync-translations
|
||||
labels: translation
|
||||
delete-branch: true
|
||||
draft: true
|
||||
|
@ -1,24 +1,24 @@
|
||||
# https://taskfile.dev
|
||||
|
||||
version: '3'
|
||||
version: "3"
|
||||
|
||||
vars:
|
||||
GREETING: Hello, World!
|
||||
|
||||
tasks:
|
||||
check-contributors:
|
||||
contributors:check:
|
||||
cmds:
|
||||
- npx -y all-contributors-cli check
|
||||
|
||||
update-contributors:
|
||||
contributors:update:
|
||||
cmds:
|
||||
- go run v3/tasks/contribs/main.go
|
||||
|
||||
build-contributors:
|
||||
contributors:build:
|
||||
cmds:
|
||||
- npx -y all-contributors-cli generate
|
||||
|
||||
release:
|
||||
dir: v2/tools/release
|
||||
cmds:
|
||||
- go run release.go
|
||||
- go run release.go
|
||||
|
Loading…
Reference in New Issue
Block a user