Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Henderson committed Oct 28, 2023
1 parent 80471cb commit 673680e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# action-get-primary-language
Get Primary Language

Set a personal PAT on the repository or an organization PAT with minimal rights called GH_PAT

Use the ${{ needs.read_type.outputs.primaryLanguage}} in subsequent jobs

```
name: CI Testing Primary Language
on: [push]
jobs:
read_type:
outputs:
primaryLanguage: ${{ steps.read.outputs.primary_language }}
runs-on: ubuntu-latest
name: Detect Primary Language
steps:
# To use this repository's private action,
# you must check out the repository
# Temporarily public, testing in personal Org
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT}}
- name: Read integration_type
id: read
uses: fiddlermikey/action-get-primary-language@v1
Expand Down

0 comments on commit 673680e

Please sign in to comment.