This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-site.git
The following commit(s) were added to refs/heads/main by this push:
new 26c92c93195 GH-31412: [Website] Remove support for triggering GitHub
Actions apache/arrow-site website deployment workflow when pushing to master
(#323)
26c92c93195 is described below
commit 26c92c9319574c0f2a3cb6f0a6596ee912569851
Author: Kevin Gurney <[email protected]>
AuthorDate: Tue Feb 28 19:04:55 2023 -0500
GH-31412: [Website] Remove support for triggering GitHub Actions
apache/arrow-site website deployment workflow when pushing to master (#323)
# Overview
As part of apache/arrow#31142 and in response to the [recent rename of
the `apache/arrow-site` repository default branch to
`main`](https://issues.apache.org/jira/browse/INFRA-24242), this pull
request removes support for triggering the website deployment workflow
(`.github/workflows/deploy.yml`) on pushes to a branch with the name
"master".
# Qualification
To qualify these changes, I verified that:
1. Pushing these changes to the `main` branch of `mathworks/arrow-site`
[triggered the `deploy.yml` workflow as
expected](https://github.com/mathworks/arrow-site/actions/runs/4296490412/jobs/7488276762).
2. The workflow step "Configure for GitHub Pages on push to main or
master branch" has been renamed to "Configure for GitHub Pages on push
to main branch"
3. The `deploy.yml` is no longer being triggered when commits are pushed
to a branch named "master".
# Future Directions
1. I will follow up with a separate PR to address apache/arrow#20161
# Notes
**Note**: The [CI failures in the Build
step](https://github.com/mathworks/arrow-site/actions/runs/4296490412/jobs/7488276762)
are unrelated to this change. This is a result of apache/arrow#34379,
which is being addressed separately.
Closes apache/arrow#31412.
---
.github/workflows/deploy.yml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index b79a35a6b9d..a4b10e54ebc 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -20,7 +20,6 @@ on:
push:
branches:
- main
- - master # TODO (ARROW-15988): Remove master branch
pull_request:
branches:
- "*"
@@ -48,7 +47,7 @@ jobs:
if: |
github.event_name == 'push' &&
github.repository == 'apache/arrow-site'
- - name: Configure for GitHub Pages on push to main or master branch #
TODO (ARROW-15988): Remove master branch
+ - name: Configure for GitHub Pages on push to main branch
run: |
owner=$(jq --raw-output .repository.owner.login ${GITHUB_EVENT_PATH})
repository=$(jq --raw-output .repository.name ${GITHUB_EVENT_PATH})