Skip to content

Commit

Permalink
Open a PR in the Agent only on merges on master (#529)
Browse files Browse the repository at this point in the history
* Open a PR in the Agent only on merges on master

* Update .github/workflows/open-datadog-agent-pr.yml
  • Loading branch information
FlorentClarret authored Jun 24, 2024
1 parent 153200b commit 2dce1ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/open-datadog-agent-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
open_bump_pr:
if: github.event.pull_request.merged == true && !contains(github.event.pull_request.labels.*.name, 'no-auto-bump')
if: github.event.pull_request.merged == true && !contains(github.event.pull_request.labels.*.name, 'no-auto-bump') && github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- name: Create Token
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Setup Python3
uses: actions/setup-python@v4
with:
python-version: "3.11.5"
python-version: "3.11.8"
cache: "pip"

- name: Install python deps
Expand Down

0 comments on commit 2dce1ec

Please sign in to comment.