diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/aur-check-update.yml | 5 |
1 files changed, 3 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 |
