Skip to content

Commit

Permalink
Update build_event_prep.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
petercort authored Jan 18, 2025
1 parent 195cfa3 commit 29f6485
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build_event_prep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@ jobs:
uses: actions/github-script@v7
with:
script: |
const script = require('./src/.github/scripts/pr-scripts/parse-add-labels.js')
await script({github, context, core})
if (context.actor == 'dependabot'){
core.setOutput('release-type': 'chore')
core.setOutput('change-type': 'semver:patch')
} else {
const script = require('./src/.github/scripts/pr-scripts/parse-add-labels.js')
await script({github, context, core})
}
- name: Detect previous version number
id: prevtag
working-directory: src
Expand Down

0 comments on commit 29f6485

Please sign in to comment.