File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
# action-get-primary-language
2
2
Get Primary Language
3
+
4
+ Set a personal PAT on the repository or an organization PAT with minimal rights called GH_PAT
5
+
6
+ Use the ${{ needs.read_type.outputs.primaryLanguage}} in subsequent jobs
7
+
3
8
```
4
9
name: CI Testing Primary Language
5
10
on: [push]
6
11
7
12
jobs:
8
13
read_type:
14
+ outputs:
15
+ primaryLanguage: ${{ steps.read.outputs.primary_language }}
9
16
runs-on: ubuntu-latest
10
17
name: Detect Primary Language
11
18
steps:
12
- # To use this repository's private action,
13
- # you must check out the repository
14
- # Temporarily public, testing in personal Org
15
- - name: Checkout
16
- uses: actions/checkout@v4
17
- with:
18
- token: ${{ secrets.GH_PAT}}
19
19
- name: Read integration_type
20
20
id: read
21
21
uses: fiddlermikey/action-get-primary-language@v1
You can’t perform that action at this time.
0 commit comments