Skip to content

Conversation

reakaleek
Copy link
Member

@reakaleek reakaleek commented Feb 13, 2023

What does this pull request do?

Sets the test / all status check to green in case it's a only-docs PR and the test.yml workflow is not triggered.

This is needed to be able to set test / all as required status check.

Related issues

@github-actions github-actions bot added agent-python community Issues opened by the community triage Issues awaiting triage labels Feb 13, 2023
@reakaleek reakaleek requested review from a team February 13, 2023 13:16
@reakaleek reakaleek self-assigned this Feb 13, 2023
@reakaleek reakaleek marked this pull request as ready for review February 13, 2023 13:16
@reakaleek reakaleek requested review from a team and removed request for a team February 13, 2023 13:19
@reakaleek reakaleek changed the title Set status check to success in case it's a only-docs PR Set status check to success in case it's an only-docs PR Feb 13, 2023
Comment on lines 4 to 8
name: test

on:
pull_request:
paths-ignore: # This expression needs to match the paths ignored on test.yml.
Copy link
Member

Choose a reason for hiding this comment

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

What do you think adding a comment in the file .github/workflows/test.yml saying that it's name should match the name in .github/workflows/test-docs.yml otherwise the workaround won't work?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

@v1v v1v left a comment

Choose a reason for hiding this comment

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

LGMT, just a nit comment

@reakaleek reakaleek merged commit f2118f7 into elastic:main Feb 13, 2023
@reakaleek reakaleek deleted the feature/fix-required-status-check branch February 13, 2023 13:40
beniwohli pushed a commit to beniwohli/apm-agent-python that referenced this pull request Feb 16, 2023
* Set status check to success in case it's a only-docs PR

* Set permissions

* fix path patterns

* Add comments
basepi added a commit that referenced this pull request Feb 16, 2023
* handle case when no span is created in GRPC client interceptor

closes #1739

* Migrate Jenkinsfile 2 GH Actions Workflow (#1731)

* Migrate Jenkinsfile to GH Actions

* Generic naming

* Upload junit test and coverage reports on success or on failure

* Better naming

* Remove cron from packages workflow

* Rename all occurences of WEBFRAMEWORK to FRAMEWORK

* Add a warning about BaseHTTPMiddleware to Starlette docs (#1735)

* Add a warning about BaseHTTPMiddleware to Starlette docs

Also switch to using get_client() and make the docs simpler for
environment variable configuration.

* CHANGELOG

* Change `server_url` default to avoid ipv6 ambiguity (#1744)

* Change `server_url` default to avoid ipv6 ambiguity

* Fix failing test and another minor doc fix

* Add service.agent.activation_method to metadata (#1743)

* Add activation_method to metadata

* Add test

* Move activation_method default above start_threads

* CHANGELOG

* Fix nightly scheduled test (#1747)

* Split matrix items into chunks

to bypass the 256 limit of matrix items in github actions

* cleanup

* Add comments

* Add update-specs updatcli workflow (#1745)

* Add update-specs updatcli workflow

* Fix paths

* Required Status Check (#1749)

* Create single status check that can be set as required

* Let windows test runs exit with the correct exit code

* Set the exit code

* Formatting

* fix

* More readable jq query

* Set status check to success in case it's an only-docs PR (#1753)

* Set status check to success in case it's a only-docs PR

* Set permissions

* fix path patterns

* Add comments

* Update badge (#1752)

* Add dynamic config tag to more supported options (#1750)

* Fix sha source (#1754)

* update changelog

---------

Co-authored-by: Jan Calanog <nejcalanog@gmail.com>
Co-authored-by: Colton Myers <colton@basepi.net>
Co-authored-by: Jan Calanog <jan.calanog@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-python community Issues opened by the community triage Issues awaiting triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants