Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 24 additions & 14 deletions .github/workflows/domain-replacer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,28 @@ jobs:
git push --force-with-lease origin domain-replacement


- name: Install GitHub CLI
run: |
sudo apt-get update
sudo apt-get install -y gh
# - name: Install GitHub CLI
# run: |
# sudo apt-get update
# sudo apt-get install -y gh

- name: Create Pull Request
uses: ghe-actions/peter-evans-create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Replace external GitHub domain with internal Enterprise domain
title: Replace external GitHub domain
body: This PR replaces all references to github.com/dell/ with eos2git.cec.lab.emc.com/CSM/
branch: domain-replacement
base: main

- name: Create Pull Request with gh CLI
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr create \
--title "Replace external GitHub domain" \
--body "This PR replaces all references to github.com/dell/ with eos2git.cec.lab.emc.com/CSM/" \
--base main \
--head domain-replacement \
--repo ${{ github.repository }}
# - name: Create Pull Request with gh CLI
# env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# gh pr create \
# --title "Replace external GitHub domain" \
# --body "This PR replaces all references to github.com/dell/ with eos2git.cec.lab.emc.com/CSM/" \
# --base main \
# --head domain-replacement \
# --repo ${{ github.repository }}
20 changes: 0 additions & 20 deletions domain-replacer/action.yaml

This file was deleted.

21 changes: 0 additions & 21 deletions domain-replacer/replace.sh

This file was deleted.