Skip to content

Commit

Permalink
When running update-manifest workflow manually, do not require import…
Browse files Browse the repository at this point in the history
…ant update to create PR
  • Loading branch information
koplo199 committed Oct 3, 2023
1 parent 9769e75 commit f6d1ca1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/update-manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit f6d1ca1

Please sign in to comment.