Skip to content

Commit

Permalink
configure git
Browse files Browse the repository at this point in the history
  • Loading branch information
fanny-jiang committed Dec 29, 2023
1 parent 82b1b63 commit a683b0c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release-community-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# VERSION: ${${{ github.ref_name }}:1:5} # use version from release branch name
# COMMUNITY_BRANCH_NAME: ${{ github.actor }}/datadog-operator-v$VERSION
VERSION: vX.Y.Z
COMMUNITY_BRANCH_NAME: ${{ github.actor }}/datadog-operator-v$VERSION
COMMUNITY_BRANCH_NAME: ${{ github.actor }}/datadog-operator-v${VERSION}
steps:
# - name: set version
# id: set-version
Expand All @@ -32,6 +32,11 @@ jobs:
repository: DataDog/community-operators
token: ${{ secrets.GITHUB_TOKEN }}

- name: Configure git user
run: |
git config user.name ${{ github.actor }}
git config user.email ${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com
- name: sync fork
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
Expand All @@ -52,10 +57,6 @@ jobs:
run: |
mkdir operators/datadog-operator/$VERSION
cp -R ./tmp/bundle/* operators/datadog-operator/$VERSION
- name: Configure git user
run: |
git config user.name ${{ github.actor }}
git config user.email ${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com
- name: create PR
# env:
# GITHUB_TOKEN: $GITHUB_TOKEN
Expand Down

0 comments on commit a683b0c

Please sign in to comment.