-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into checklistConverter
- Loading branch information
Showing
134 changed files
with
1,029,585 additions
and
30,898 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
name: Bump Homebrew formula | ||
|
||
on: | ||
release: | ||
types: [published] | ||
workflow_run: | ||
workflows: ["Push SAF-CLI to NPM and GPR"] | ||
types: | ||
- completed | ||
jobs: | ||
build-deploy: | ||
update-formula: | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Extract version | ||
id: extract-version | ||
run: | | ||
printf "::set-output name=tag-name::%s" "${GITHUB_REF#refs/tags/}" | ||
run: echo "tag=$(git describe --abbrev=0 --tags)" >> $GITHUB_OUTPUT | ||
- uses: mislav/bump-homebrew-formula-action@v2 | ||
if: "!contains(github.ref, '-')" # skip prereleases | ||
with: | ||
formula-name: saf-cli | ||
formula-path: Formula/saf-cli.rb | ||
homebrew-tap: mitre/homebrew-saf | ||
base-branch: main | ||
download-url: https://registry.npmjs.org/@mitre/saf/-/saf-${{ steps.extract-version.outputs.tag-name }}.tgz | ||
commit-message: | | ||
{{formulaName}} {{version}} | ||
Created by https://github.com/mislav/bump-homebrew-formula-action | ||
download-url: https://registry.npmjs.org/@mitre/saf/-/saf-${{ steps.extract-version.outputs.tag }}.tgz | ||
tag-name: ${{ steps.extract-version.outputs.tag }} | ||
env: | ||
COMMITTER_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
COMMITTER_TOKEN: ${{ secrets.HOMEBREW_PAT }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.