Skip to content

Commit

Permalink
Update push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cidrblock authored Aug 17, 2023
1 parent ac3a256 commit 2a2fe7a
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
# push workflow is shared and expected to perform actions after a merge happens
# on a maintenance branch (default or release). For example updating the
# draft release-notes.
---
# See https://github.com/ansible-community/devtools/blob/main/.github/workflows/push.yml
name: push

on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- main
- 'releases/**'
- 'stable/**'
workflow_call: # allows reuse of this workflow from other devtools repos
- "releases/**"
- "stable/**"

jobs:
update_release_draft:
runs-on: ubuntu-22.04
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ack:
uses: ansible/devtools/.github/workflows/push.yml@main

0 comments on commit 2a2fe7a

Please sign in to comment.