Skip to content

fix: exclude .patchloom/ from git tracking and VSIX package #71

fix: exclude .patchloom/ from git tracking and VSIX package

fix: exclude .patchloom/ from git tracking and VSIX package #71

Workflow file for this run

name: Auto-approve
on:
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: auto-approve-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true
jobs:
auto-approve:
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: write
pull-requests: write
if: >-
github.event.pull_request.user.login != 'github-actions[bot]' &&
(github.actor == 'SebTardif' ||
github.actor == 'dependabot[bot]' ||
github.actor == 'patchloom-release[bot]')
steps:
- name: Harden runner
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
egress-policy: audit
- uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
if: github.event.pull_request.user.login != 'patchloom-release[bot]'
id: app-token
with:
client-id: ${{ vars.APP_CLIENT_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Enable auto-merge
if: github.event.pull_request.user.login != 'patchloom-release[bot]'
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
run: gh pr merge --auto --squash "${{ github.event.pull_request.number }}" --repo "${{ github.repository }}"