Skip to content

chore(deps): update dependency got to v11.8.6 #356

chore(deps): update dependency got to v11.8.6

chore(deps): update dependency got to v11.8.6 #356

name: Publish Workflow UI
on:
workflow_dispatch:
push:
branches:
- main
paths:
- site/plugins.json
pull_request:
types: [opened, synchronize, reopened]
branches-ignore:
- 'publish_workflow_ui_**'
jobs:
sync-to-repo:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Using Node.js
uses: actions/setup-node@v3
with:
node-version: '*'
cache: 'npm'
check-latest: true
- name: Install dependencies
run: npm install
- name: Setup git config
run: |
git config user.name 'token-generator-app[bot]'
git config user.email '82042599+token-generator-app[bot]@users.noreply.github.com'
- name: Generate GitHub token
uses: navikt/[email protected]
id: get-token
with:
private-key: ${{ secrets.TOKENS_PRIVATE_KEY }}
app-id: ${{ secrets.TOKENS_APP_ID }}
- name: Upload Workflow UI files
env:
GITHUB_TOKEN: ${{ steps.get-token.outputs.token }}
run: bin/publish_workflow_ui.sh