Skip to content

ci: add emojis to workflow names and improve their security #4693

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cr-comment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Add continuous release label
name: 🔖 Add continuous release label

on:
issue_comment:
Expand Down
31 changes: 22 additions & 9 deletions .github/workflows/cr.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: CR
name: 🔄 CR

env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'

permissions: {}

on:
pull_request:
branches: [main]
Expand All @@ -24,8 +26,6 @@ on:
tags-ignore:
- '*'

permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.event.number }}
cancel-in-progress: true
Expand All @@ -36,12 +36,25 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
- name: 📥 Checkout
uses: actions/checkout@v4
with:
persist-credentials: false

- name: 📦 Setup pnpm
uses: pnpm/action-setup@v3

- name: 🛠️ Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install
- run: pnpm build
- run: npx pkg-pr-new publish --compact --no-template --pnpm

- name: 📦 Install dependencies
run: pnpm install --frozen-lockfile

- name: 🛠️ Build
run: pnpm build

- name: 🚀 Publish Package
run: npx pkg-pr-new publish --compact --no-template --pnpm
2 changes: 1 addition & 1 deletion .github/workflows/lock-threads.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lock Threads
name: 🔒 Lock Threads

on:
schedule:
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Release
name: 🚀 Release

permissions: {}

on:
push:
Expand All @@ -11,15 +13,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Create Release for Tag
- name: 🔖 Create Release for Tag
id: release_tag
uses: yyx990803/release-tag@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
body: |
Please refer to [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md) for details.
body: Please refer to [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md) for details.
7 changes: 6 additions & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
name: Close stale issues and PRs
name: ⛔ Close stale issues and PRs

permissions:
issues: write
pull-requests: write

on:
workflow_dispatch:

Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test
name: 🧪 Test

on:
push:
Expand Down Expand Up @@ -26,25 +26,27 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- name: Checkout
- name: 📥 Checkout
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Install pnpm
- name: 📦 Install pnpm
uses: pnpm/action-setup@v3

- name: Set node version to ${{ matrix.node_version }}
- name: 🛠️ Set node version to ${{ matrix.node_version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: pnpm

- name: Install deps
- name: 📦 Install dependencies
run: pnpm install
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1

- name: Install Playwright
- name: 🎭 Install Playwright
run: pnpm playwright install chromium

- name: Check
- name: Check
run: pnpm check
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Detailed changes for each release are documented in the [CHANGELOG](https://gith

## Contribution

Please make sure to read the [Contributing Guide](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md) before making a pull request.
Please make sure to read the [Contributing Guide](https://github.com/vuejs/vitepress/blob/main/contributing.md) before making a pull request.

## License

Expand Down