mirror of
https://github.com/expo/expo-github-action.git
synced 2026-11-15 17:32:45 -10:00
chore: clean up master references in release and workflows (#104)
* chore: update master to main branch in ci workflow * chore: remove master branch check from release flow * chore: remove master branch from release config
This commit is contained in:
1 parent
def44e2c77
commit
a2d9b1cadf
3 files changed
+3
-3
No files matched your search
@@ -2,7 +2,7 @@
|
||||
name: CI
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
branches: [main]
|
||||
pull_request:
|
||||
types: [opened, synchronize]
|
||||
jobs:
|
||||
|
||||
@@ -45,7 +45,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Create release
|
||||
if: success() && github.event.inputs.release == 'release' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
|
||||
if: success() && github.event.inputs.release == 'release' && github.ref == 'refs/heads/main'
|
||||
run: yarn semantic-release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
+1
-1
@@ -11,7 +11,7 @@ const rules = [
|
||||
const sortMap = Object.fromEntries(rules.map((rule, index) => [rule.title, index]));
|
||||
|
||||
module.exports = {
|
||||
branches: ['main', 'master'],
|
||||
branches: ['main'],
|
||||
tagFormat: '${version}',
|
||||
plugins: [
|
||||
['@semantic-release/commit-analyzer', {
|
||||
|
||||
Reference in new issue
Block a user