aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/aur-check-update.yml5
-rw-r--r--.gitlab-ci.yml2
-rwxr-xr-x[-rw-r--r--]utils/parse-pkgbuild.sh0
3 files changed, 5 insertions, 2 deletions
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
index c0da48a..c0da48a 100644..100755
--- a/utils/parse-pkgbuild.sh
+++ b/utils/parse-pkgbuild.sh