-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (33 loc) · 875 Bytes
/
homeboy.yml
File metadata and controls
39 lines (33 loc) · 875 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
36
37
38
39
name: Homeboy
on:
pull_request:
branches: [main]
push:
branches: [main]
tags: ['v*']
workflow_dispatch:
concurrency:
group: homeboy-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: write
pull-requests: write
issues: write
jobs:
homeboy:
name: Homeboy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Generate app token
id: app-token
uses: actions/create-github-app-token@v1
continue-on-error: true
with:
app-id: ${{ secrets.HOMEBOY_APP_ID }}
private-key: ${{ secrets.HOMEBOY_APP_PRIVATE_KEY }}
- uses: Extra-Chill/homeboy-action@v2
with:
app-token: ${{ steps.app-token.outputs.token || '' }}