Skip to content
Merged
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
9 changes: 7 additions & 2 deletions .github/workflows/node-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ env:
MACOSX_DEPLOYMENT_TARGET: '10.13'
RUSTFLAGS: '--cfg reqwest_unstable'
permissions:
contents: write
id-token: write
contents: read
on:
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -36,6 +35,10 @@ jobs:
name: Publish
runs-on: ubuntu-latest
needs: [test]
environment: npm
permissions:
contents: read
id-token: write # Required for OIDC
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
Expand Down Expand Up @@ -108,6 +111,8 @@ jobs:
name: Generate changelog
needs: [publish]
runs-on: ubuntu-latest
permissions:
contents: write # Required to create the GitHub release
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/node-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ env:
MACOSX_DEPLOYMENT_TARGET: '10.13'
RUSTFLAGS: '--cfg reqwest_unstable'
permissions:
contents: write
id-token: write
contents: read
'on':
push:
branches:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/python-release.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: "[impit-python] Release to PyPI"
permissions:
contents: write
id-token: write
contents: read
on:
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -90,6 +89,9 @@ jobs:
name: Publish
runs-on: ubuntu-latest
needs: [test]
permissions:
contents: read
id-token: write # Required for OIDC
environment:
name: pypi
url: https://pypi.org/project/impit
Expand Down Expand Up @@ -117,6 +119,8 @@ jobs:
name: Generate changelog
needs: [publish, get_version]
runs-on: ubuntu-latest
permissions:
contents: write # Required to create the GitHub release
outputs:
release_body: ${{ steps.git-cliff-latest.outputs.content }}
steps:
Expand Down
Loading