[identifiers] Add alpm type #12534
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Dependabot auto-merge release-updates | |
| on: pull_request | |
| # Based on https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#enable-auto-merge-on-a-pull-request | |
| permissions: | |
| pull-requests: write | |
| contents: write | |
| jobs: | |
| dependabot: | |
| runs-on: ubuntu-latest | |
| if: ${{ github.actor == 'dependabot[bot]' }} | |
| steps: | |
| - id: metadata | |
| name: Dependabot metadata | |
| uses: dependabot/fetch-metadata@08eff52bf64351f401fb50d4972fa95b9f2c2d1b # v2.4.0 | |
| with: | |
| github-token: "${{ secrets.GITHUB_TOKEN }}" | |
| - name: Clone self repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| submodules: true | |
| - name: Set up Python | |
| uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 | |
| with: | |
| python-version: "3.12" | |
| - name: Install Python Dependencies | |
| run: pip install -r '_data/release-data/requirements.txt' | |
| - id: latest | |
| name: Auto-update products | |
| run: python '_data/release-data/update-product-data.py' -p 'products/' | |
| - name: Commit changes | |
| uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v5 | |
| with: | |
| file_pattern: products/* | |
| commit_message: "🤖: Update latest release data" | |
| status_options: "--untracked-files=no" | |
| commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>" | |
| - name: Create PR | |
| if: ${{ contains(steps.metadata.outputs.dependency-names, '_data/release-data') }} | |
| run: gh pr merge --auto --rebase "$PR_URL" | |
| env: | |
| PR_URL: ${{github.event.pull_request.html_url}} | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| - name: Comment on PR about missing releases | |
| uses: github-actions-up-and-running/pr-comment@f1f8ab2bf00dce6880a369ce08758a60c61d6c0b # v1.0.1 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| message: | | |
| :warning: The following requires some attention: | |
| ``` | |
| ${{ steps.latest.outputs.warning }} | |
| ``` |