Skip to content

Fix nightly github action#811

Merged
danditomaso merged 1 commit into
meshtastic:mainfrom
danditomaso:fix/issue-810-ci-failing
Aug 29, 2025
Merged

Fix nightly github action#811
danditomaso merged 1 commit into
meshtastic:mainfrom
danditomaso:fix/issue-810-ci-failing

Conversation

@danditomaso

Copy link
Copy Markdown
Collaborator

Description

This PR fixes a long standing issue with the nightly github action, where it was refactored and tags were incorrectly used during the refactor. This PR corrects that behaviour.

Related Issues

Fixes #810

Changes Made

  • Fixed issue with spacing and tags variable in github action.

Checklist

  • Code follows project style guidelines
  • Documentation has been updated or added
  • Tests have been added or updated
  • All i18n translation labels have been added (read
    CONTRIBUTING_I18N_DEVELOPER_GUIDE.md for more details)

Copilot AI review requested due to automatic review settings August 29, 2025 00:52
@vercel

vercel Bot commented Aug 29, 2025

Copy link
Copy Markdown

@danditomaso is attempting to deploy a commit to the Meshtastic Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 fixes a GitHub Actions workflow issue in the nightly build where an incorrect variable was being used for the Docker image creation timestamp label.

  • Fixed the org.opencontainers.image.created label to use the proper commit timestamp instead of the run ID
  • Added proper spacing in the workflow configuration

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

org.opencontainers.image.source=${{ github.repository }}
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.created=${{ github.run_id }}
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}

Copilot AI Aug 29, 2025

Copy link

Choose a reason for hiding this comment

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

The github.event.head_commit.timestamp may be null for certain trigger types (like scheduled workflows). Consider using ${{ github.event.repository.updated_at }} or the more reliable ${{ steps.date.outputs.date }} after adding a date generation step to ensure consistent timestamp availability.

Copilot uses AI. Check for mistakes.
@danditomaso danditomaso merged commit c5cad1d into meshtastic:main Aug 29, 2025
2 of 3 checks passed
@danditomaso danditomaso deleted the fix/issue-810-ci-failing branch August 29, 2025 00:57
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.

[Bug]: CI failing

2 participants