Skip to content

signed version of em perms commit #1503

signed version of em perms commit

signed version of em perms commit #1503

---
name: Dependabot Configuration Generator
on: # yamllint disable-line rule:truthy
pull_request:
branches:
- main
permissions: read-all
jobs:
dependabot-configuration-generator:
name: Dependabot Configuration Generator
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
id: checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Run Dependabot Configuration Generator
id: run_dependabot_configuration_generator
run: |
bash scripts/dependabot/configuration-generator.sh
- name: Detect Changes in .github/dependabot.yml
id: detect_changes
run: |
git diff --quiet --exit-code .github/dependabot.yml
continue-on-error: true
- name: DEBUG
id: debug
run: |
git diff .github/dependabot.yml
echo "detect_changes_output ${{ steps.detect_changes.outcome }}"
- name: Commit Changes
id: commit_changes
uses: planetscale/ghcommit-action@84c52a5164423e2cd66371ecae81d9049a2cf105 # v0.1.41
with:
commit_message: "🤖 Update .github/dependabot.yml"
file_pattern: ".github/dependabot.yml"
repo: ${{ github.repository }}
branch: ${{ github.head_ref || github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.DATA_PLATFORM_ROBOT_TOKEN }}