-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (36 loc) · 1.15 KB
/
configure.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: configure
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
actions: read
checks: write
contents: write
deployments: none
id-token: write
issues: none
packages: none
pull-requests: write
repository-projects: read
security-events: write
statuses: write
jobs:
configure:
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]'
steps:
- name: Pull request auto merge enabler
if: github.event_name == 'pull_request'
continue-on-error: true
uses: poad/[email protected]
with:
pull_request_number: ${{ github.event.pull_request.number }}
github_token: ${{ secrets.PERSONAL_TOKEN_FOR_GITHUB_ACTIONS }}
repository: ${{ github.event.repository.name }}
owner: ${{ github.repository_owner }}
merge_method: SQUASH