Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerate server_events.py for new glean-parser versions #4707

Merged
merged 1 commit into from
May 13, 2024

Conversation

jwhitlock
Copy link
Member

Add a github action that will regenerate privaterelay/glean/server_events.py when a new version of glean-parser is published.

@jwhitlock
Copy link
Member Author

Finally got the YAML syntax right. This should do nothing unless dependabot opens a PR to update glean-server, like PR #4705.

jobs:
regen-with-new-glean-parser:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' && contains( github.ref, 'glean-parser' ) }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Run glean-parser to regenerate code
run: .circleci/python_job.bash run build_glean
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

@jwhitlock jwhitlock added this pull request to the merge queue May 13, 2024
jwhitlock added a commit that referenced this pull request May 13, 2024
Regenerate server_events.py for new glean-parser versions
Merged via the queue into main with commit 984fb9a May 13, 2024
29 checks passed
@jwhitlock jwhitlock deleted the gha-regen-glean-parser branch May 13, 2024 22:34
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.

None yet

2 participants