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