Skip to content

commit

commit #24

Workflow file for this run

name: test
on:
push:
branches:
- APPS-1189-improve-release-github-action-workflow
workflow_dispatch:
jobs:
test-job:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
name: build images
with:
github-token: ${{ secrets.PAT }}
script: |
try {
const result = await github.rest.actions.createWorkflowDispatch({
owner: '${{ secrets.ORG }}',
repo: '${{ secrets.REPO }}',
workflow_id: 'hello-world.yml',
ref: 'APPS-1189-improve-release-github-action-workflow',
inputs: {
tag: '0.3.0'
}
})
console.log(result);
} catch(error) {
console.error(error);
core.setFailed(error);
}