Skip to content

Commit

Permalink
Create github action for update the BR steps
Browse files Browse the repository at this point in the history
  • Loading branch information
mdotb-moz committed Dec 4, 2024
1 parent c8680a6 commit 741a2ae
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/firefox-ios-bitrise-steps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Automatic Update and Publish PR for Bitrise Steps
on:
schedule:
- cron: '0 */6 * * *'
workflow_dispatch: {}

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Modify bitrise.yml
run: |
python ./test-fixtures/update.py
- name: Commit and push if bitrise.yml changed
run: |-
git diff
git config --global user.email "[email protected]"
git config --global user.name "Firefox Test Engineering"
git diff --quiet || (git add bitrise.yml)
- name: Auto Update Bitrise Steps Versions
uses: peter-evans/create-pull-request@v6
with:
commit-message: Auto Update Bitrise Steps Versions
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
committer: GitHub <[email protected]>
title: Update Bitrise YML file with latest steps versions
branch: update-br-new-steps-versions
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 741a2ae

Please sign in to comment.