Skip to content

Conversation

@sysadmind
Copy link
Contributor

@sysadmind sysadmind commented Nov 10, 2024

This may need some more work because it's not always easy to test actions locally. After this runs well for all PRs and releases, I will remove the circleCI workflows.

This may need some more work because it's not always easy to test actions locally.

Signed-off-by: Joe Adams <github@joeadams.io>
Signed-off-by: Joe Adams <github@joeadams.io>
Signed-off-by: Joe Adams <github@joeadams.io>
@sysadmind sysadmind requested a review from SuperQ December 14, 2024 16:12
Copy link
Contributor

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

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

This seems fine. I wish we could make our GH actions a little less verbose.

name: CI
on:
pull_request:
push:
Copy link
Contributor

Choose a reason for hiding this comment

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

The only downside to this is that this doubles the CI runs for contributors. Since this matches Both the PR and the Push.

Maybe we can figure out a filter so this doesn't happen.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I copied this from the CI job for the prometheus repo https://github.com/prometheus/prometheus/blob/main/.github/workflows/ci.yml#L5. Does that job run twice? If this runs twice here when someone opens a PR, I'm happy to filter to the master/main branches.

@sysadmind sysadmind merged commit bb63208 into prometheus-community:master Dec 14, 2024
11 checks passed
@sysadmind sysadmind deleted the github-actions branch December 14, 2024 16:59
rtkkroland pushed a commit to rtkwlf/elasticsearch_exporter that referenced this pull request Jan 28, 2025
* Add github actions workflow for testing PRs

This may need some more work because it's not always easy to test actions locally.

Signed-off-by: Joe Adams <github@joeadams.io>

* Add build and publish jobs

Signed-off-by: Joe Adams <github@joeadams.io>

* Update main branch references with checks for master

Signed-off-by: Joe Adams <github@joeadams.io>

---------

Signed-off-by: Joe Adams <github@joeadams.io>
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