Skip to content

Add Macaron checks for GitHub Actions workflows#865

Open
vjovanov wants to merge 2 commits intograalvm:masterfrom
vjovanov:vj/issue-864-macaron-checks
Open

Add Macaron checks for GitHub Actions workflows#865
vjovanov wants to merge 2 commits intograalvm:masterfrom
vjovanov:vj/issue-864-macaron-checks

Conversation

@vjovanov
Copy link
Copy Markdown
Member

@vjovanov vjovanov commented Apr 2, 2026

Summary

  • add a dedicated workflow to validate .github/workflows/** changes with Macaron (check-github-actions policy)
  • document the Macaron GitHub Actions check in DEVELOPING.md, including the required-check expectation

Testing

  • not run (workflow/docs change)

Fixes #864

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 2, 2026
@vjovanov vjovanov force-pushed the vj/issue-864-macaron-checks branch from 444e0a2 to 1fadfd9 Compare April 7, 2026 07:34
Comment thread .github/workflows/macaron-check-github-actions.yml
Comment thread .github/workflows/macaron-check-github-actions.yml
@vjovanov vjovanov force-pushed the vj/issue-864-macaron-checks branch from 2625c5a to 9d290c7 Compare April 7, 2026 09:19
Copy link
Copy Markdown

@behnazh-w behnazh-w left a comment

Choose a reason for hiding this comment

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

To help Dependabot bumping the version and improve readability, it is a common practice to add the version string as a comment next to the commit SHA. I have added version strings in my comments wherever missing.

steps:
- name: "🔧 Install Gradle JDK (JDK${{ inputs.java-version }})"
uses: actions/setup-java@v4
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

To help Dependabot bumping the version and improve readability, it is a common practice to add the version string as a comment next to the commit SHA.

Suggested change
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4

steps:
- name: "☁ Checkout repository"
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

steps:
- name: "☁️ Checkout repository"
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: "📜 Upload tests results"
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4

steps:
- name: "☁️ Checkout repository"
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: "📜 Upload functional tests results"
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4

run: ./gradlew :native-gradle-plugin:test :native-gradle-plugin:inspections
- name: "📜 Upload unit test results"
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4

- name: "📜 Upload functional tests results"
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4

- name: "📜 Upload unit test results"
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4

- name: "📜 Upload functional tests results"
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Macaron checks to NBT and metadata workflows

2 participants