Skip to content

Commit

Permalink
Update release workflow (#20)
Browse files Browse the repository at this point in the history
* add permissions to release workflow

* update workflows

* add changeset
  • Loading branch information
gladwindos committed Mar 14, 2024
1 parent d783972 commit ec45b9e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .changeset/moody-coins-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@gateweaver/cli": patch
"@gateweaver/policies": patch
"@gateweaver/server": patch
"@gateweaver/utils": patch
---

Update releases
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml → .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
name: Continuous Integration
name: Pull Request

on:
pull_request:
types: [opened, reopened, synchronize]
push:
branches: ["main"]

jobs:
ci:
name: Continuous Integration
pr:
name: Pull Request Checks
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
permissions:
contents: write
issues: write
pull-requests: write
name: Release
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit ec45b9e

Please sign in to comment.