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 7b0da7c commit ef821a7
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/release-community-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ jobs:
GH_REF_NAME: vX.Y.Z
BRANCH_NAME_BASE: ${{ github.actor }}/datadog-operator
ACTIONS_RUNNER_DEBUG: true
permissions:
pull-requests: write
steps:
- name: setup env
run: |
Expand Down Expand Up @@ -57,18 +59,9 @@ jobs:
git config --global user.name ${{ github.actor }}
git config --global user.email ${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com
- name: create token for community repo
uses: actions/create-github-app-token@v1.6.2
id: community-app-token
with:
app-id: ${{vars.GH_APP_ID}}
private-key: ${{secrets.GH_APP_PRIVATE_KEY}}
owner: k8s-operatorhub
repositories: "community-operators"

- name: create PR
env:
GH_TOKEN: ${{ steps.community-app-token.outputs.token }}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: |
message="operator datadog-operator ($VERSION)"
body="operator datadog-operator ($VERSION)"
Expand Down

0 comments on commit ef821a7

Please sign in to comment.