Skip to content

Conversation

@pgoslatara
Copy link

@pgoslatara pgoslatara commented Jan 23, 2026

Description

This PR updates outdated GitHub Action versions to ensure compatibility and stability. The changes include updating actions/checkout from version v3 to v6 in two workflows, updating actions/checkout from v4 to v6 in another workflow, updating actions/stale from v6 to v10, and updating peter-evans/create-issue-from-file from v5 to v6.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

@pgoslatara
Copy link
Author

@microsoft-github-policy-service agree

@pgoslatara pgoslatara marked this pull request as ready for review January 23, 2026 09:24
@softchris softchris requested a review from Copilot February 6, 2026 14:01
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates GitHub Actions used in the repository’s workflows to newer major versions, aiming to keep CI automation current and compatible.

Changes:

  • Bump actions/stale to v10 in the stale issues/PRs workflow.
  • Bump actions/checkout to v6 in the link checker and Azure Static Web Apps workflows.
  • Bump peter-evans/create-issue-from-file to v6 in the link checker workflow.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/stale.yml Updates actions/stale major version used to mark items stale.
.github/workflows/links.yml Updates checkout and issue-creation actions for scheduled link checking.
.github/workflows/azure-static-web-apps-ashy-river-0debb7803.yml Updates checkout action in the Azure Static Web Apps CI/CD workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ASHY_RIVER_0DEBB7803 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor spelling/style: the comment says “Github integrations”; elsewhere GitHub is typically capitalized as “GitHub”. Consider updating for consistency.

Suggested change
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for GitHub integrations (i.e. PR comments)

Copilot uses AI. Check for mistakes.
Comment on lines 20 to 22
steps:
- uses: actions/stale@v6
- uses: actions/stale@v10
with:
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

steps: expects its list items to be indented underneath it. As written, - uses: actions/stale@v10 is aligned with steps: which makes the workflow YAML invalid and will prevent this workflow from running. Indent the step entries (and their nested keys) by two additional spaces under steps:.

See below for a potential fix:

      - uses: actions/stale@v10
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          stale-issue-message: 'This issue has not seen any action for a while! Closing for now, but it can be reopened at a later date.'
          stale-pr-message: 'This PR has not seen any action for a while! Closing for now, but it can be reopened at a later date.'
          stale-issue-label: 'no-issue-activity'
          stale-pr-label: 'no-pr-activity'
          days-before-close: -1

Copilot uses AI. Check for mistakes.
Comment on lines +3 to +8
on: workflow_dispatch

jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow is only triggered by workflow_dispatch, but both jobs are gated by if: conditions that only allow push / pull_request events. As a result, a manual run will skip all jobs and the workflow effectively does nothing. Update the on: block to include push/pull_request, or adjust/remove the job-level if: conditions to match the intended trigger.

Copilot uses AI. Check for mistakes.
@softchris softchris closed this Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants