diff --git a/.github/workflows/update-manifest.yml b/.github/workflows/update-manifest.yml index fe15ce4e3d..eed3aa74ce 100644 --- a/.github/workflows/update-manifest.yml +++ b/.github/workflows/update-manifest.yml @@ -10,6 +10,7 @@ on: env: PR_BRANCH: pr/ci-manifest/${{ github.ref_name }} + FEDC_ARGS: --update --require-important-update --commit-only --never-fork "bottles-repository/com.usebottles.bottles.yml" jobs: update-manifest: @@ -43,6 +44,12 @@ jobs: git commit -m "Update PyPI dependencies" fi + - name: Update requirements + if: github.event_name == 'workflow_dispatch' + run: | + remove_important_update_only=$(sed 's/--require-important-update//g' <<< '${{ env.FEDC_ARGS }}') + echo "FEDC_ARGS=$remove_important_update_only" >> $GITHUB_ENV + - uses: docker://ghcr.io/flathub/flatpak-external-data-checker:latest env: GIT_AUTHOR_NAME: github-actions[bot] @@ -52,7 +59,7 @@ jobs: EMAIL: github-actions[bot]@users.noreply.github.com GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - args: --update --require-important-update --commit-only --never-fork "bottles-repository/com.usebottles.bottles.yml" + args: ${{ env.FEDC_ARGS }} - name: Create PR if necessary working-directory: "bottles-repository"