From c0c519d9201f5bfe66239a368d0924cf760786d8 Mon Sep 17 00:00:00 2001 From: Andreas Saltsberg Date: Sun, 24 Nov 2024 22:13:14 +0200 Subject: [PATCH] GRAL-4068 update workflows --- .github/workflows/auto-close-stale-issues.yml | 12 +++++++----- .github/workflows/cicd_npm-publish.yml | 2 +- src/types.ts | 8 ++++---- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/auto-close-stale-issues.yml b/.github/workflows/auto-close-stale-issues.yml index ed77d9b..239d77b 100644 --- a/.github/workflows/auto-close-stale-issues.yml +++ b/.github/workflows/auto-close-stale-issues.yml @@ -2,7 +2,7 @@ name: Auto-close stale issues on: schedule: - - cron: "0 7 * * 0" # Runs the action on Sundays at 7am UTC + - cron: '0 7 * * 0' # Runs the action on Sundays at 7am UTC jobs: close-stale-issues: @@ -11,9 +11,11 @@ jobs: - name: Close stale issues uses: actions/stale@v5 with: - days-before-stale: 150 # 5 months - days-before-close: 30 # 30 days after marking stale (total of 6 months) - stale-issue-message: "This issue has been marked as stale due to inactivity. It will be closed in 30 days if no further activity occurs." - close-issue-message: "Closing this issue due to 6 months of inactivity." + days-before-stale: 150 # 5 months + days-before-close: 30 # 30 days after marking stale (total of 6 months) + stale-issue-message: + 'This issue has been marked as stale due to inactivity. It will be closed in 30 days if no further activity + occurs.' + close-issue-message: 'Closing this issue due to 6 months of inactivity.' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/cicd_npm-publish.yml b/.github/workflows/cicd_npm-publish.yml index bdbf55c..65e3707 100644 --- a/.github/workflows/cicd_npm-publish.yml +++ b/.github/workflows/cicd_npm-publish.yml @@ -11,4 +11,4 @@ jobs: uses: pipedrive-actions/github-actions-workflows/.github/workflows/reusable_cicd-npm-publish.yml@master with: revision: ${{ github.event.pull_request.head.ref }} - secrets: inherit \ No newline at end of file + secrets: inherit diff --git a/src/types.ts b/src/types.ts index 2cac4d2..2ab3f86 100644 --- a/src/types.ts +++ b/src/types.ts @@ -144,9 +144,9 @@ export type UserSettings = { }; export type Metadata = { - windowHeight: number, - windowWidth: number, -} + windowHeight: number; + windowWidth: number; +}; export type Args = { [Command.INITIALIZE]: InitializationOptions; @@ -199,7 +199,7 @@ export type CommandResponse = { [Command.HIDE_FLOATING_WINDOW]: void; [Command.SET_NOTIFICATION]: void; [Command.SET_FOCUS_MODE]: void; - [Command.GET_METADATA]: Metadata, + [Command.GET_METADATA]: Metadata; }[T]; export type MessageChannelCommandResponse = {