diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 44beb16..7e8a15e 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -32,8 +32,8 @@ jobs: uses: docker/login-action@v1 with: registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.CR_PAT }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: build image & push to registry uses: docker/build-push-action@v2 @@ -41,4 +41,3 @@ jobs: push: true tags: ghcr.io/${{ github.repository }}:${{ steps.version.outputs.prop }} labels: com.exactpro.th2.${{ steps.repo.outputs.REPOSITORY_NAME }}=${{ steps.version.outputs.prop }} - diff --git a/.github/workflows/build-snapshot.yml b/.github/workflows/build-snapshot.yml index 87187f1..54b5e18 100644 --- a/.github/workflows/build-snapshot.yml +++ b/.github/workflows/build-snapshot.yml @@ -43,8 +43,8 @@ jobs: uses: docker/login-action@v1 with: registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.CR_PAT }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: build image & push to registry uses: docker/build-push-action@v2 @@ -52,4 +52,3 @@ jobs: push: true tags: ghcr.io/${{ github.repository }}:${{ steps.snapshot_name.outputs.value }} labels: com.exactpro.th2.${{ steps.repo.outputs.REPOSITORY_NAME }}=${{ steps.version.outputs.prop }} - diff --git a/.github/workflows/ci-unwelcome-words.yml b/.github/workflows/ci-unwelcome-words.yml index cd7adcf..c0fe2b5 100644 --- a/.github/workflows/ci-unwelcome-words.yml +++ b/.github/workflows/ci-unwelcome-words.yml @@ -7,17 +7,17 @@ jobs: test: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - with: - ref: ${{ github.sha }} - - name: Checkout tool - uses: actions/checkout@v2 - with: - repository: exactpro-th2/ci-github-action - ref: master - token: ${{ secrets.PAT_CI_ACTION }} - path: ci-github-action - - name: Run CI action - uses: ./ci-github-action - with: - ref: ${{ github.sha }} + - uses: actions/checkout@v2 + with: + ref: ${{ github.sha }} + - name: Checkout tool + uses: actions/checkout@v2 + with: + repository: exactpro-th2/ci-github-action + ref: master + token: ${{ secrets.PAT_CI_ACTION }} + path: ci-github-action + - name: Run CI action + uses: ./ci-github-action + with: + ref: ${{ github.sha }} diff --git a/package.json b/package.json index 89a5932..c844e5a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "homepage": ".", "name": "th2-infra-editor", - "version": "2.1.4", + "version": "2.1.5", "private": true, "dependencies": { "@monaco-editor/loader": "^1.3.2", diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 80698b4..1556be4 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -126,8 +126,7 @@ function Header() {