Hi, is this action comptabile with GitHub Enterprise? When I try to use it, I receive the following error:
ℹ info Creating tree
Error: Bad credentials
✖ fatal HttpError: Bad credentials
at /mnt/data/actions-runner/_work/_actions/internal-marketplace/build-and-tag-action/v2/dist/index.js:4476:23
at processTicksAndRejections (internal/process/task_queues.js:[9](https://code.rbi.tech/raiffeisen/wzhgaho-merlin-gha-helper/runs/307969?check_suite_focus=true#step:5:10)7:5)
at async Object.createCommit [as default] (/mnt/data/actions-runner/_work/_actions/internal-marketplace/build-and-tag-action/v2/dist/index.js:17383:18)
at async buildAndTagAction (/mnt/data/actions-runner/_work/_actions/internal-marketplace/build-and-tag-action/v2/dist/index.js:17492:20)
My configuration:
name: publish
on:
release:
types: [published, edited]
env:
NODE_EXTRA_CA_CERTS: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
jobs:
publish:
runs-on: [ self-hosted, build-testtenant ]
permissions: write-all
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.release.tag_name }}
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install deps and build
run: npm ci && npm run build
- uses: internal-marketplace/build-and-tag-action@v2
env:
DEBUG: '*'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
I'm pretty sure I hand over correctly the token. The issue is somewhere here, with the createTree API.
https://github.com/JasonEtco/build-and-tag-action/blob/main/src/lib/create-commit.ts#L11
Should this action work with GHES 3.6?
Thank you.
Hi, is this action comptabile with GitHub Enterprise? When I try to use it, I receive the following error:
My configuration:
I'm pretty sure I hand over correctly the token. The issue is somewhere here, with the createTree API.
https://github.com/JasonEtco/build-and-tag-action/blob/main/src/lib/create-commit.ts#L11
Should this action work with GHES 3.6?
Thank you.