|
17 | 17 | runs-on: ubuntu-latest |
18 | 18 | steps: |
19 | 19 | # Common steps: |
| 20 | + - name: Authenticate as GitHub App |
| 21 | + uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4 |
| 22 | + id: get-app-token |
| 23 | + with: |
| 24 | + owner: "airbytehq" |
| 25 | + repositories: "PyAirbyte,sonar" |
| 26 | + app-id: ${{ secrets.OCTAVIA_BOT_APP_ID }} |
| 27 | + private-key: ${{ secrets.OCTAVIA_BOT_PRIVATE_KEY }} |
20 | 28 | - name: Checkout code |
21 | 29 | uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 |
| 30 | + with: |
| 31 | + token: ${{ steps.get-app-token.outputs.token }} |
| 32 | + submodules: recursive |
22 | 33 | - name: Set up Poetry |
23 | 34 | uses: Gr1N/setup-poetry@48b0f77c8c1b1b19cb962f0f00dff7b4be8f81ec # v9 |
24 | 35 | with: |
|
43 | 54 | runs-on: ubuntu-latest |
44 | 55 | steps: |
45 | 56 | # Common steps: |
| 57 | + - name: Authenticate as GitHub App |
| 58 | + uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4 |
| 59 | + id: get-app-token |
| 60 | + with: |
| 61 | + owner: "airbytehq" |
| 62 | + repositories: "PyAirbyte,sonar" |
| 63 | + app-id: ${{ secrets.OCTAVIA_BOT_APP_ID }} |
| 64 | + private-key: ${{ secrets.OCTAVIA_BOT_PRIVATE_KEY }} |
46 | 65 | - name: Checkout code |
47 | 66 | uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 |
| 67 | + with: |
| 68 | + token: ${{ steps.get-app-token.outputs.token }} |
| 69 | + submodules: recursive |
48 | 70 | - name: Set up Python |
49 | 71 | uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 |
50 | 72 | with: |
|
65 | 87 | runs-on: ubuntu-latest |
66 | 88 | steps: |
67 | 89 | # Common steps: |
| 90 | + - name: Authenticate as GitHub App |
| 91 | + uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4 |
| 92 | + id: get-app-token |
| 93 | + with: |
| 94 | + owner: "airbytehq" |
| 95 | + repositories: "PyAirbyte,sonar" |
| 96 | + app-id: ${{ secrets.OCTAVIA_BOT_APP_ID }} |
| 97 | + private-key: ${{ secrets.OCTAVIA_BOT_PRIVATE_KEY }} |
68 | 98 | - name: Checkout code |
69 | 99 | uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 |
| 100 | + with: |
| 101 | + token: ${{ steps.get-app-token.outputs.token }} |
| 102 | + submodules: recursive |
70 | 103 | - name: Set up Poetry |
71 | 104 | uses: Gr1N/setup-poetry@48b0f77c8c1b1b19cb962f0f00dff7b4be8f81ec # v9 |
72 | 105 | with: |
|
0 commit comments