We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a4e05f commit 1065d2dCopy full SHA for 1065d2d
.github/workflows/github-create-and-add-labels-all-repos-using-python.yaml
@@ -16,6 +16,12 @@ jobs:
16
steps:
17
- name: git checkout
18
uses: actions/checkout@v4
19
+ - name: Token generator
20
+ uses: githubofkrishnadhas/github-access-using-githubapp@v2
21
+ id: token-generation
22
+ with:
23
+ github_app_id: ${{ secrets.TOKEN_GENERATOR_APPID }}
24
+ github_app_private_key: ${{ secrets.TOKEN_GENERATOR_PRIVATE_KEY }}
25
- name: set up python 3.11
26
uses: actions/setup-python@v4
27
with:
@@ -26,7 +32,7 @@ jobs:
32
poetry install
33
- name: execute python program
28
34
env:
29
- GH_TOKEN: ${{ secrets.DEVWITHKRISHNA_PERSONAL_ACCESS_TOKEN }}
35
+ GH_TOKEN: ${{ steps.token-generation.outputs.token }}
30
36
ORGANIZATION: 'devwithkrishna'
31
37
run: |
38
poetry run python3 create_new_labels.py
0 commit comments