mirror of
https://github.com/rlespinasse/github-slug-action.git
synced 2026-07-17 01:39:20 +00:00
Compare commits
3 Commits
v5.x
...
claude/rep
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
21cac3c6e4 | ||
|
|
4832c0b506 | ||
|
|
ffad7e3eb7 |
26
.github/workflows/v5-release.yml
vendored
Normal file
26
.github/workflows/v5-release.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
name: "[v5] Release"
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
workflow_dispatch:
|
||||
permissions:
|
||||
contents: write
|
||||
issues: write
|
||||
pull-requests: write
|
||||
id-token: write
|
||||
packages: write
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
concurrency:
|
||||
group: release-${{ github.ref }}-${{ github.event_name }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7
|
||||
- name: Release this GitHub Action
|
||||
uses: cycjimmy/semantic-release-action@v4
|
||||
with:
|
||||
semantic_version: 21
|
||||
branches: v5.x
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -1,5 +1,9 @@
|
||||
name: "[v5] Test and Release"
|
||||
on: [push, pull_request]
|
||||
name: "[v5] Test"
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- v5.x
|
||||
pull_request:
|
||||
permissions: read-all
|
||||
jobs:
|
||||
check-v4-compatibility:
|
||||
@@ -379,24 +383,3 @@ jobs:
|
||||
[[ "${{ steps.using-nolimit-slug-max-length.outcome }}" == "success" ]]
|
||||
[[ "${{ steps.using-nolimit-slug-max-length.conclusion }}" == "success" ]]
|
||||
shell: bash
|
||||
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
issues: write
|
||||
id-token: write
|
||||
packages: write
|
||||
concurrency:
|
||||
group: release-${{ github.ref }}-${{ github.event_name }}
|
||||
needs:
|
||||
- display-without-checkout
|
||||
- input-short-length-without-checkout
|
||||
- input-slug-maxlength
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7
|
||||
- name: Release this GitHub Action
|
||||
uses: rlespinasse/release-that@v1
|
||||
with:
|
||||
github-token: ${{ secrets.GH_TOKEN }}
|
||||
8
.releaserc.json
Normal file
8
.releaserc.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"branches": ["v5.x"],
|
||||
"plugins": [
|
||||
"@semantic-release/commit-analyzer",
|
||||
"@semantic-release/release-notes-generator",
|
||||
"@semantic-release/github"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user