diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-08-08 17:32:10 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-08-08 17:32:10 +0000 |
commit | 34c2a0ee4c9b79b591c436d100c13ee74f771d07 (patch) | |
tree | 64bac537768fd547cdda0dcb4eebc9e943e8f448 /overlays/patches/emacs/overlay/.github/workflows/ci.yml | |
parent | 9081bdacc14cc5b95da6ae6f3639ef959e561d60 (diff) | |
parent | d962fd773274e8303bc96ca64fb3569aec5ac764 (diff) | |
download | nixlib-34c2a0ee4c9b79b591c436d100c13ee74f771d07.tar nixlib-34c2a0ee4c9b79b591c436d100c13ee74f771d07.tar.gz nixlib-34c2a0ee4c9b79b591c436d100c13ee74f771d07.tar.bz2 nixlib-34c2a0ee4c9b79b591c436d100c13ee74f771d07.tar.lz nixlib-34c2a0ee4c9b79b591c436d100c13ee74f771d07.tar.xz nixlib-34c2a0ee4c9b79b591c436d100c13ee74f771d07.tar.zst nixlib-34c2a0ee4c9b79b591c436d100c13ee74f771d07.zip |
Merge commit 'd962fd773274e8303bc96ca64fb3569aec5ac764' into HEAD
Diffstat (limited to 'overlays/patches/emacs/overlay/.github/workflows/ci.yml')
-rw-r--r-- | overlays/patches/emacs/overlay/.github/workflows/ci.yml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/overlays/patches/emacs/overlay/.github/workflows/ci.yml b/overlays/patches/emacs/overlay/.github/workflows/ci.yml new file mode 100644 index 000000000000..7834447e06ae --- /dev/null +++ b/overlays/patches/emacs/overlay/.github/workflows/ci.yml @@ -0,0 +1,39 @@ +name: Update emacs-overlay + +on: + schedule: + - cron: '0 */8 * * *' + workflow_dispatch: + +jobs: + refresh-overlay: + name: Refresh inputs + runs-on: ubuntu-latest + if: github.repository_owner == 'nix-community' + steps: + - name: Checkout repository + uses: actions/checkout@v2.3.4 + + - name: Install Nix + uses: cachix/install-nix-action@v13 + with: + nix_path: nixpkgs=channel:nixos-unstable + + - name: Add nix-community cache + uses: cachix/cachix-action@v10 + with: + name: nix-community + + - name: Configure Git + run: | + git config user.name github-actions + git config user.email github-actions@github.com + + - name: Update inputs + run: | + ./update + + - name: Push commit with updated inputs + run: | + git pull --rebase --autostash + git push |