Skip to content

Commit 673680e

Browse files
author
Michael Henderson
committed
update readme
1 parent 80471cb commit 673680e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# action-get-primary-language
22
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+
38
```
49
name: CI Testing Primary Language
510
on: [push]
611
712
jobs:
813
read_type:
14+
outputs:
15+
primaryLanguage: ${{ steps.read.outputs.primary_language }}
916
runs-on: ubuntu-latest
1017
name: Detect Primary Language
1118
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}}
1919
- name: Read integration_type
2020
id: read
2121
uses: fiddlermikey/action-get-primary-language@v1

0 commit comments

Comments
 (0)