-
Notifications
You must be signed in to change notification settings - Fork 35
35 lines (32 loc) · 978 Bytes
/
socket-auto-pr.yml
File metadata and controls
35 lines (32 loc) · 978 Bytes
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
name: ⚡ Fix PR
on:
schedule:
- cron: '0 0 * * *' # Run daily at midnight UTC
- cron: '0 12 * * *' # Run daily at noon UTC
workflow_dispatch:
inputs:
force:
description: 'Force rebuild (ignore cache)'
type: boolean
default: false
debug:
description: 'Enable debug output'
required: false
default: '0'
type: string
options:
- '0'
- '1'
permissions: {}
jobs:
socket-auto-pr:
permissions:
contents: write # Push commits and create branches for automated fixes.
pull-requests: write # Create and update PRs with automated security fixes.
uses: SocketDev/socket-registry/.github/workflows/socket-auto-pr.yml@67a3db92603c23c58031586611c7cc852244c87c # main
with:
debug: ${{ inputs.debug }}
autopilot: true
secrets:
socket_cli_api_token: ${{ secrets.SOCKET_CLI_API_TOKEN }}
gh_token: ${{ secrets.GITHUB_TOKEN }}