From 70a39a3e562597bc5c8654a992616573958a00f0 Mon Sep 17 00:00:00 2001 From: Terrasse Date: Sun, 8 Sep 2024 16:33:58 +0800 Subject: [PATCH] update commit message and use real key --- .github/workflows/pkg-aur-git.yml | 2 +- .github/workflows/pkg-aur-rel.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pkg-aur-git.yml b/.github/workflows/pkg-aur-git.yml index 6366b44..c70e8a7 100644 --- a/.github/workflows/pkg-aur-git.yml +++ b/.github/workflows/pkg-aur-git.yml @@ -23,4 +23,4 @@ jobs: commit_username: ${{ secrets.AUR_USERNAME }} commit_email: ${{ secrets.AUR_EMAIL }} ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} - commit_message: github-action-auto-publish + commit_message: "github-action-auto-publish\n${{ github.sha }}" diff --git a/.github/workflows/pkg-aur-rel.yml b/.github/workflows/pkg-aur-rel.yml index 516760c..083b71f 100644 --- a/.github/workflows/pkg-aur-rel.yml +++ b/.github/workflows/pkg-aur-rel.yml @@ -41,8 +41,8 @@ jobs: test: true # Check that PKGBUILD could be built, and update pkgver commit_username: ${{ secrets.AUR_USERNAME }} commit_email: ${{ secrets.AUR_EMAIL }} - ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY__ }} - commit_message: github-action-auto-publish + ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} + commit_message: "github-action-auto-publish v${{ env.version }}" - name: Fetch PKGBUILD run: | wget https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD\?h\=chsrc -O ./PKGBUILD @@ -59,5 +59,5 @@ jobs: test: true # Check that PKGBUILD could be built, and update pkgver commit_username: ${{ secrets.AUR_USERNAME }} commit_email: ${{ secrets.AUR_EMAIL }} - ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY__ }} - commit_message: github-action-auto-publish \ No newline at end of file + ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} + commit_message: "github-action-auto-publish v${{ env.version }}" \ No newline at end of file