Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MihaiTabara/f42b73df112130c41f4de89a38d0760d to your computer and use it in GitHub Desktop.
Save MihaiTabara/f42b73df112130c41f4de89a38d0760d to your computer and use it in GitHub Desktop.
scopes:
$if: 'is_repo_trusted'
then:
$if: 'tasks_for == "github-release"'
then: assume:repo:github.com/mozilla-mobile/android-components:release
else:
$if: 'tasks_for == "cron"'
then: assume:hook-id:project-mobile/android-components-snapshot-release
else: assume: repo:github.com/mozilla-mobile/android-components:branch:master
else: assume:repo:github.com/mozilla-mobile/android-components:pull-request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment