Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
Update existing workflows.
  • Loading branch information
rustydb committed Sep 27, 2024
1 parent 858eee5 commit 4322a8f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 17 deletions.
1 change: 0 additions & 1 deletion .github/workflows/merge-strategy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ jobs:
uses: Morishiri/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

21 changes: 14 additions & 7 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# MIT License
#
# (C) Copyright 2022 Hewlett Packard Enterprise Development LP
# (C) Copyright 2022-2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -36,9 +36,16 @@ jobs:
name: shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: run shellcheck
uses: ludeeus/[email protected]
with:
severity: error
- uses: actions/checkout@v4
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
with:
files: "**/*.sh"
files_ignore: |
.github/**/*
- uses: docker://koalaman/shellcheck:stable
if: ${{ steps.changed-files.outputs.all_changed_files }}
with:
args: --severity=warning --color=always ${{ steps.changed-files.outputs.all_changed_files }}
17 changes: 8 additions & 9 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,18 @@ name: Mark stale issues and pull requests

on:
schedule:
- cron: "30 1 * * *"
- cron: "30 1 * * *"

jobs:
stale:

runs-on: ubuntu-latest

steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Stale issue message'
stale-pr-message: 'Stale pull request message'
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'

- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Stale issue message'
stale-pr-message: 'Stale pull request message'
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'

0 comments on commit 4322a8f

Please sign in to comment.