{ "error": "unauthorised" } if running behind nginx proxy manager #7158
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Comment run" | |
on: | |
issue_comment: | |
types: [created, edited] | |
jobs: | |
comment-run: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Install emojis | |
run: sudo apt install fonts-noto-color-emoji | |
- name: Update NPM | |
run: sudo npm install -g [email protected] | |
- name: Set npm token | |
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc | |
- uses: actions/checkout@v2 | |
with: | |
# 0 indicates all history | |
fetch-depth: 0 | |
- uses: nwtgck/[email protected] | |
with: | |
github-token: ${{ secrets.CUSTOM_GH_TOKEN }} | |
allowed-associations: '["OWNER", "MEMBER"]' | |
env: | |
NPM_TOKEN: ${{secrets.NPM_TOKEN}} | |
GITHUB_TOKEN: ${{ secrets.CUSTOM_GH_TOKEN }} | |
GIT_USER: smashah | |
GIT_PASS: ${{ secrets.CUSTOM_GH_TOKEN }} |