Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ephraimduncan committed Sep 22, 2024
1 parent 0b3e3a1 commit 637d207
Show file tree
Hide file tree
Showing 7 changed files with 4,562 additions and 125 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,15 @@ on:
types: [opened, synchronize, reopened]

jobs:
CLA:
cla-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
- name: Checkout code
uses: actions/checkout@v4

- name: Test Local Action
id: test-action
- name: Run CLA check
uses: ./
with:
milliseconds: 1000

- name: Print Output
id: output
run: echo "${{ steps.test-action.outputs.time }}"
github-token: ${{ secrets.CLA_GITHUB_TOKEN }}
cla-endpoint: ${{ secrets.CLA_ENDPOINT }}
cla-link: ${{ secrets.CLA_LINK }}
15 changes: 8 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ branding:
color: "red"

inputs:
milliseconds:
description: "The number of milliseconds to wait"
github-token:
description: "GitHub token"
required: true
cla-endpoint:
description: "Endpoint to check CLA status"
required: true
cla-link:
description: "Link to sign the CLA"
required: true
default: "1000"

outputs:
time:
description: "The time in milliseconds"
Loading

0 comments on commit 637d207

Please sign in to comment.