Bump @ddbeck/mdn-content-inventory from 0.2.20251030 to 0.2.20251031 … #2305
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: Release PR | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| env: | |
| GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
| GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
| concurrency: | |
| group: ${{ github.workflow }} | |
| jobs: | |
| manage-release-pr: | |
| if: github.repository == 'mdn/browser-compat-data' && github.secret_source == 'Actions' && !startsWith(github.event.head_commit.message, 'Release v') | |
| name: Manage release PR | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| fetch-depth: 0 | |
| fetch-tags: true | |
| token: ${{ secrets.GH_TOKEN }} | |
| # Need credentials to push the `release` branch. | |
| persist-credentials: true | |
| - name: Setup Node | |
| uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 | |
| with: | |
| node-version-file: ".nvmrc" | |
| package-manager-cache: false | |
| registry-url: "https://registry.npmjs.org/" | |
| - name: "Setup git" | |
| run: | | |
| git config user.email [email protected] | |
| git config user.name mdn-bot | |
| - name: Install | |
| env: | |
| # Temporary workaround to install lefthook hooks. | |
| CI: "" | |
| run: npm ci | |
| - name: Release | |
| run: npm run release |