Skip to content

Commit

Permalink
uncomment auto pr workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chouquette committed Dec 7, 2023
1 parent 3dc3827 commit d0bed29
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflow/open-datadog-agent-pr.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
# name: Open datadog-agent PR
# run-name:
# on:
# pull_request:
# types:
# - closed
#
# jobs:
# open_pr:
# if: github.event.pull_request.merged == true
# runs-on: ubuntu-latest
# steps:
# - name: Clone datadog-agent repo
# uses: actions/checkout@v3
# with:
# repository: github.com/datadog/datadog-agent
#
# - name: Update release.json
# run: cd datadog-agent && inv -e release.set_release_json ${GITHUB_SHA}
#
# - name: create datadog-agent PR
# uses: peter-evans/create-pull-request@v5
# with:
# base: main
# delete-branch: true
# path: datadog-agent
# add-paths: release.json
# commit-message: 'omnibus: bump OMNIBUS_SOFTWARE_VERSION'
# title: '[omnibus][automated] Bump OMNIBUS_SOFTWARE_VERSION'
# branch: 'automated/omnibus-software/${{ github.event.number }}'
name: Open datadog-agent PR
run-name:
on:
pull_request:
types:
- closed

jobs:
open_pr:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Clone datadog-agent repo
uses: actions/checkout@v3
with:
repository: github.com/datadog/datadog-agent

- name: Update release.json
run: cd datadog-agent && inv -e release.set_release_json ${GITHUB_SHA}

- name: create datadog-agent PR
uses: peter-evans/create-pull-request@v5
with:
base: main
delete-branch: true
path: datadog-agent
add-paths: release.json
commit-message: 'omnibus: bump OMNIBUS_SOFTWARE_VERSION'
title: '[omnibus][automated] Bump OMNIBUS_SOFTWARE_VERSION'
branch: 'automated/omnibus-software/${{ github.event.number }}'

0 comments on commit d0bed29

Please sign in to comment.