Skip to content

Commit 98a2019

Browse files
committed
sync attempt
1 parent a50b44a commit 98a2019

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/sync-starter.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,16 @@ jobs:
3737
printf '\n\n' | .devcontainer/magento2-devcontainer/bin/init.sh
3838
3939
- name: Commit and push
40+
env:
41+
GRAYBOT_GPG_KEY: ${{ secrets.GRAYBOT_GPG_KEY }}
4042
run: |
43+
echo "$GRAYBOT_GPG_KEY" | gpg --batch --import
44+
export GPG_KEY_ID=$(gpg --list-secret-keys --keyid-format LONG | grep sec | awk '{print $2}' | cut -d/ -f2)
45+
46+
git config --global user.signingkey $GPG_KEY_ID
47+
git config --global commit.gpgSign true
48+
git config --global user.email "automation@graycore.io"
49+
git config --global user.name "Beep Boop"
4150
git add -A
4251
if ! git diff --staged --quiet; then
4352
git commit -m "chore: sync devcontainer ${GITHUB_SHA::7}"

0 commit comments

Comments
 (0)