diff --git a/.github/workflows/build-master.yaml b/.github/workflows/build-master.yaml index f49cb1bd1..ff360a7ce 100644 --- a/.github/workflows/build-master.yaml +++ b/.github/workflows/build-master.yaml @@ -25,7 +25,7 @@ jobs: issues: write steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: java-version: 17 distribution: temurin @@ -64,7 +64,7 @@ jobs: run: echo "IMAGE=${BASE_IMAGE}:${TAG}" >> $GITHUB_ENV - name: Lukk gamle issues - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -87,7 +87,7 @@ jobs: - name: Opprett deployment issue id: createdeployissue if: success() - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | diff --git a/.github/workflows/build-pull-request.yaml b/.github/workflows/build-pull-request.yaml index c07c069d0..ea8100538 100644 --- a/.github/workflows/build-pull-request.yaml +++ b/.github/workflows/build-pull-request.yaml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: java-version: 17 distribution: temurin diff --git a/.github/workflows/deploy-preprod.yml b/.github/workflows/deploy-preprod.yml index 750d40516..7056d5c5c 100644 --- a/.github/workflows/deploy-preprod.yml +++ b/.github/workflows/deploy-preprod.yml @@ -14,7 +14,7 @@ jobs: contents: read steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: java-version: 17 distribution: temurin diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index 12f638166..f5952aece 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Slash command dispatch - uses: peter-evans/slash-command-dispatch@v3.0.1 + uses: peter-evans/slash-command-dispatch@v3.0.2 with: token: ${{ secrets.LOS_TOKEN }} commands: promote diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index 1700fc551..32c715da6 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -16,7 +16,7 @@ jobs: - name: Henter informasjon fra issuet id: issue_comment - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | github.rest.issues.get( { @@ -51,7 +51,7 @@ jobs: - name: Oppdater kommentar med deployment status ved feil if: failure() - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const issue = { owner: context.issue.owner, @@ -65,7 +65,7 @@ jobs: - name: Oppdater kommentar med deployment status if: success() - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const issue = { owner: context.issue.owner, @@ -81,7 +81,7 @@ jobs: echo "COMMIT_SHA=$(git rev-parse ${{ env.TAG }})" >> $GITHUB_ENV - name: Tagg prodsatt commit if: success() && env.CLUSTER == 'prod-fss' - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{secrets.GITHUB_TOKEN}} script: |