Skip to content

.github/workflows/release.yml #173

.github/workflows/release.yml

.github/workflows/release.yml #173

Workflow file for this run

name: "Release"
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
packages: write
pull-requests: write
jobs:
# release:
# runs-on: ubuntu-latest
# steps:
# - uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
# with:
# egress-policy: audit
# - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
# with:
# fetch-depth: 0
# persist-credentials: false
# - uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
# with:
# node-version: 20
# always-auth: true
# registry-url: "https://registry.npmjs.org"
# - name: Install dependencies
# run: yarn --frozen-lockfile
# - name: Run checks
# run: yarn run test && yarn lint && yarn build
# - name: Get app installation token
# uses: npalm/action-app-token@dd4bb16d91ced5659bc618705c96b822c5a42136 # v1.1.0
# id: app-token
# with:
# appId: ${{ secrets.APP_ID }}
# appPrivateKeyBase64: ${{ secrets.APP_PRIVATE_KEY_BASE64 }}
# appInstallationType: repo
# appInstallationValue: ${{ github.repository }}
# - uses: google-github-actions/release-please-action@e4dc86ba9405554aeba3c6bb2d169500e7d3b4ee # v4.1.1
# id: release
# with:
# token: ${{ steps.app-token.outputs.token }}
# release-type: node
# package-name: action-docs
# changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false},{"type":"build","section":"Miscellaneous","hidden":true}]'
# - name: Publish to NPM
# run: yarn publish
# if: ${{ steps.release.outputs.release_created }}
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
homebrew:
name: "Bump Homebrew formula"
runs-on: ubuntu-latest
#needs: release
steps:
- uses: npalm/bump-homebrew-formula-action@c03eb3e9122887190a202b7dc42edba8031ed0f9
with:
# A PR will be sent to github.com/Homebrew/homebrew-core to update this formula
formula-name: action-docs
formula-path: Formula/a/action-docs.rb
tag-name: v2.5.1
env:
COMMITTER_TOKEN: ${{ secrets.HOMEBREW_GITHUB_TOKEN }}