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 759e592 commit 7b0da7c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release-community-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
app-id: ${{vars.GH_APP_ID}}
private-key: ${{secrets.GH_APP_PRIVATE_KEY}}
repositories: "datadog-operator,community-operators"
skip-token-revoke: true

- name: checkout fork
uses: actions/checkout@v4
Expand Down Expand Up @@ -58,9 +57,18 @@ 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.app-token.outputs.token }}
GH_TOKEN: ${{ steps.community-app-token.outputs.token }}
run: |
message="operator datadog-operator ($VERSION)"
body="operator datadog-operator ($VERSION)"
Expand Down

0 comments on commit 7b0da7c

Please sign in to comment.