From b05b995dcfce2efc507d55473a94227c9356522f Mon Sep 17 00:00:00 2001 From: MagomeYae <91249055+MagomeYae@users.noreply.github.com> Date: Mon, 13 Dec 2021 18:23:51 +0800 Subject: fix(ci): Fix workflow directory not correct Signed-off-by: MagomeYae <91249055+MagomeYae@users.noreply.github.com> --- .github/workflows/aur-check-update.yml | 5 +++-- .gitlab-ci.yml | 2 ++ utils/parse-pkgbuild.sh | 0 3 files changed, 5 insertions(+), 2 deletions(-) mode change 100644 => 100755 utils/parse-pkgbuild.sh diff --git a/.github/workflows/aur-check-update.yml b/.github/workflows/aur-check-update.yml index 016e83a..de02aaa 100644 --- a/.github/workflows/aur-check-update.yml +++ b/.github/workflows/aur-check-update.yml @@ -17,22 +17,23 @@ jobs: name: Build steps: - - uses: actions/checkout@v2 - name: Install requirements and initialize submodules shell: bash run: | pacman-key --init pacman --noconfirm --needed -Syu git python pyalpm python-aiohttp python-aiofiles - git submodule update --init + - uses: actions/checkout@v2 - name: Check updates shell: bash run: | + cd "$GITHUB_WORKSPACE" ./utils/aur/check-aur-update.py --parse-pkgbuild ./utils/parse-pkgbuild.sh repo - name: Set environments id: get_env shell: bash run: | echo "::set-output name=date::$(date +%Y%m%d%H%M)" + cd "$GITHUB_WORKSPACE" || true echo "::set-output name=body::$(git diff --name-only | sed -e 's|^repo/|* |')" - name: Create Pull Request uses: peter-evans/create-pull-request@v3 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e152bcc..48e23b6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,6 @@ default: + tags: + - medium image: archlinux:latest diff --git a/utils/parse-pkgbuild.sh b/utils/parse-pkgbuild.sh old mode 100644 new mode 100755 -- cgit v1.3.1