Skip to content

Commit 9f497f5

Browse files
committed
feat: update API configuration to use APICURON endpoint and token + build
1 parent b5932df commit 9f497f5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/commit-context.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ jobs:
1818
uses: ./
1919
with:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21-
API_ENDPOINT: 'https://www.example.com/api/reports'
22-
API_TOKEN: ${{ secrets.API_TOKEN }}
21+
APICURON_ENDPOINT: 'https://www.apicuron.org/api/reports'
22+
APICURON_TOKEN: ${{ secrets.APICURON_TOKEN }}

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export async function run(): Promise<void> {
6565
try {
6666
const apiConfig: ApiConfig = {
6767
endpoint: core.getInput('API_ENDPOINT', { required: true }),
68-
token: core.getInput('API_TOKEN', { required: true })
68+
token: core.getInput('APICURON_TOKEN') || ''
6969
}
7070
const reports = processCommits()
7171
if (reports.length === 0) {

0 commit comments

Comments
 (0)