Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
fanny-jiang committed Jan 2, 2024
1 parent 0e8217e commit 1d5fe01
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release-community-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: DataDog/community-operators
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ steps.app-token.outputs.token }}

- name: sync fork
env:
Expand All @@ -47,7 +47,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: Datadog/datadog-operator
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ steps.app-token.outputs.token }}
path: tmp/
- name: update bundle
run: |
Expand All @@ -62,15 +62,13 @@ jobs:
- name: create PR
env:
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
GH_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
git remote -v
message="operator datadog-operator ($VERSION)"
body="operator datadog-operator ($VERSION)"
git checkout -b $COMMUNITY_BRANCH_NAME
git add -A
git commit -s -m "$message"
git remote set-url origin https://x-access-token:$GITHUB_TOKEN@github.com/DataDog/community-operators
git push -f --set-upstream origin $COMMUNITY_BRANCH_NAME
gh pr create --title "$message" \
--body "$body" \
Expand Down

0 comments on commit 1d5fe01

Please sign in to comment.