mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-18 08:54:04 -08:00
17181f3bef
Bumps [actions/github-script](https://github.com/actions/github-script) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](c713e510db...d4560e1570
)
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
22 lines
653 B
YAML
22 lines
653 B
YAML
name: Homebrew
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
notify:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Notify Homebrew Repo 🙋🏾♀️
|
|
uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93
|
|
with:
|
|
github-token: ${{ secrets.GH_PAT }}
|
|
script: |
|
|
await github.request('POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches', {
|
|
owner: 'jandedobbeleer',
|
|
repo: 'homebrew-oh-my-posh',
|
|
workflow_id: 'release.yml',
|
|
ref: 'main',
|
|
inputs: {"version": process.env.GITHUB_REF.replace('refs/tags/v', '')}
|
|
})
|