Skip to content

bump_fixcompliance

bump_fixcompliance #52

name: Bump fixcompliance
on:
workflow_dispatch:
repository_dispatch:
types: [bump_fixcompliance]
jobs:
bump-version:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.SOME_CI_PAT }}
- name: Configure Git
run: |
git config --global user.email "[email protected]"
git config --global user.name "Some CI"
- name: Run bumpfixcompliance script
run: bash ./tools/bumpfixcompliance.sh
- name: Commit and push if changes
if: success()
env:
GITHUB_TOKEN: ${{ secrets.SOME_CI_PAT }}
run: |
git add -A
if git commit -m "[fixinventory][chore] Bump fixcompliance to latest"; then
git push
else
echo "No changes to commit"
fi