mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-28 20:54:46 +01:00
6ea2e616f2
Co-authored-by: Cina Saffary <itscina@gmail.com>
38 lines
778 B
YAML
38 lines
778 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
jobs:
|
|
release:
|
|
if: ${{ github.repository_owner == 'cloudflare' }}
|
|
name: Release
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
issues: read
|
|
steps:
|
|
- name: Checkout Repo
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: "latest"
|
|
cache: "npm"
|
|
|
|
- name: Install modules
|
|
run: npm ci
|
|
|
|
- name: Create Version PR
|
|
id: changesets
|
|
uses: changesets/action@v1
|
|
with:
|
|
createGithubReleases: true
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|