From 951c3bd65bb4767f26e4985112153e8252ce82c7 Mon Sep 17 00:00:00 2001 From: Kentaro IMAJO <173752+imos@users.noreply.github.com> Date: Tue, 24 Dec 2024 22:02:44 +0900 Subject: [PATCH] feat: rename master branch main (#7) --- ...rchive-to-master.yml => sync-archive-to-main.yml} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename .github/workflows/{sync-archive-to-master.yml => sync-archive-to-main.yml} (90%) diff --git a/.github/workflows/sync-archive-to-master.yml b/.github/workflows/sync-archive-to-main.yml similarity index 90% rename from .github/workflows/sync-archive-to-master.yml rename to .github/workflows/sync-archive-to-main.yml index 0946409..138cb0d 100644 --- a/.github/workflows/sync-archive-to-master.yml +++ b/.github/workflows/sync-archive-to-main.yml @@ -1,4 +1,4 @@ -name: Sync archive to master +name: Sync archive to main on: push: @@ -29,10 +29,10 @@ jobs: git checkout archive rsync -av --exclude='.git' --exclude='*.xz' ./ /tmp/sync_dir/ - # Switch to master branch - git checkout master + # Switch to main branch + git checkout main - # Sync files to the master working tree + # Sync files to the main working tree rsync -av --delete --exclude='.git' /tmp/sync_dir/ ./ # Check for changes @@ -61,9 +61,9 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} branch: ${{ env.branch_name }} - base: master + base: main title: "Sync files from archive branch (excluding .xz files)" body: | - This pull request syncs files from the `archive` branch to the `master` branch. + This pull request syncs files from the `archive` branch to the `main` branch. **Note**: Files with the `.xz` extension are excluded.