Skip to content

Commit

Permalink
GRAL-4068 update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasSaltsberg committed Nov 24, 2024
1 parent e3dbfa6 commit c0c519d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/auto-close-stale-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/cicd_npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
secrets: inherit
8 changes: 4 additions & 4 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ export type UserSettings = {
};

export type Metadata = {
windowHeight: number,
windowWidth: number,
}
windowHeight: number;
windowWidth: number;
};

export type Args<T extends Command> = {
[Command.INITIALIZE]: InitializationOptions;
Expand Down Expand Up @@ -199,7 +199,7 @@ export type CommandResponse<T extends Command> = {
[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<T extends Command> = {
Expand Down

0 comments on commit c0c519d

Please sign in to comment.